Jump to content

szabesz

Members
  • Posts

    3,019
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by szabesz

  1. Hi, it might be a browser extension causing this. Do you have any extensions installed? If so, you can try a different browser or an incognito/private window, provided extensions are not allowed to run in that mode.
  2. Useful utility indeed, thanks for sharing! Are you planning to add TinyMCE support as well? Given that CKEditor has been replaced by TinyMCE as the default RTE, on new sites I always use TinyMCE.
  3. top 3: 42 20 12
  4. Thank you for sharing! Are you planning to add it to the Module Directory?
  5. And when they do, they treat it as the "global context", while /.agent/ is the "project context". At least that's what Cline does, so ProcessWire should not automatically touch ~/.agents/ and should warn about such an action in the first place. see: https://docs.cline.bot/customization/skills#skills Quote: "You can also create skills manually by creating the directory structure in your file system. Place skill directories in .cline/skills/ (workspace) or ~/.cline/skills/ (global) and Cline will detect them automatically." Since Cline supports both .cline/skills/ and ~/.cline/skills/ the same is true for storing skills in .agent folders as well.
  6. This is a good workaround, I think, especially if the target directory can be configured in the module's settings. .agent/ in the site root could be the default path. BTW, some AI agent tools support both the .agent/ location and have their own preference, like Cline suggests .cline/. I use .agent/ with Cline, and it works well.
  7. szabesz

    I'm back

    @tpr @Martijn Geerts @renobird @cstevensjr @Wanze @pwired @Mike Rockett @Zeka @SiNNuT @DaveP @justb3a @nik @MadeMyDay and so many others...
  8. Thanks @ryan for the "$20/month" vs "pay-as-you-go plan" comparison. Since my experience is very similar (using Cline Bot's "pay-as-you-go" credits), it appears that Anthropic does prefer to employ a vendor lock-in strategy. "Wow this sounds like a really good deal." It was a Black Friday deal, their standard prices are higher, but still affordable (currently $84 for a year). I prefer OpenAI compatible APIs, and IDE plugins that support it. That way I can pay for the subscription I can afford, and use that. That is why currently my favorite tool is the Cline plugin, available for, quote: "VS Code, Cursor, Windsurf, Antigravity, a JetBrains IDE, or Node.js 20+ (for CLI)". Thanks @gebeer for drawing my attention to AGENTS.md, I have so far overlooked it. There is so much to learn. Just like Ryan, I have also recently started testing/using AI-assisted development tools, and Cline for ProcessWire development is what I am most comfortable with at the moment. Now reading the docs for Cline's Rules page, I see that it also supports AGENTS.md, and optionally others as well. So my understanding is that AGENTS.md should be the general guide for AI that comes with the ProcessWire core (or currently through the Agent Tools module), but I can augment it with my other rule files, like the ones I already have: processwire-project.md. This file should only contain project-specific default guidelines that are in addition to the ProcessWire official AGENTS.md. I will need to refactor my rules and skills, cleaning them for contradictions and redundancy. Cline extends that with its Memory Bank feature. I've just started to use it, but I don't have much experience yet. Seems to be a good tool, though.
  9. All LLMs are trained(?) to be super polite, as we all know. Especially recently, I get so many "that's a brilliant observation/thought etc..." on a daily bases, that I almost started to be proud of the questions and remarks I can phrase :D
  10. Not everyone can afford Claude, including me. I tested Claude Opus 4.6 (for Plan mode) and Claude Sonnet 4.6 (for Act mode) "via" my Cline Bot account, and while it solved the issue I presented it with in one go, it cost me about $1. One prompt only and $1 was gone... So that is why I use z.ai with GLM 5.1 for the fraction of the cost. Not as fast, not as feature rich, not as powerful, but still very capable and I paid only $25.20 for a one year subscription which suits my needs, as I can prompt it all day long and I never run out of my quota. I hope that a "SKILLs standard" will emerge soon, as currently most agents prefer their own "schema" , or rather, their lack of adherence to a schema.
  11. Can't wait! Thanks a million, as always, Ryan!
  12. It is obvious that AI/LLMs/agents, etc..., should be used for development with frameworks the developer already has at least a basic understanding of, and the agent should not be allowed to generate code the developer cannot understand, otherwise the whole project will fail in the end. These are new tools, they are constantly changing, and we need to learn how to utilize them best. I am trying to find the optimal balance between tinkering, learning, and doing actual work. This has always been the case whenever I started using a new piece of software or system for the first time. There is no change in that regard.
  13. Humans In the Loop ARC AGI 3: When there is no pattern to follow, artificial "intelligence" fails: As long as we pretend to save the environment with "green energy," "renewable energy", luxury electric cars, and the like, while hiding the dark side of the trade, there is little we can do simply by refusing to use online LLM services: https://rumble.com/v39h4nu-the-truth-about-green-energy-its-all-a-hoax-to-make-money.html First and foremost, we should make products that last for decades, or at least are upgradable/updatable, so that certain parts can last as long as possible and the rest can be replaced. Also, the right tool for the right job is preferable to "the newer, the better" just because it's new. As long as profit dictates, there will be no effective solutions to problems like this, IMHO.
  14. Especially because the module does not delete already generated files. FI you turn off an option after it has been turned on and files have been generated, you will need to manually delete the files that are no longer needed.
  15. Thanks again @maximus! 1. I found an issue: In context/prompts/ md files /site/assets/ seems to be hardcoded, eg.: ## Files to Reference - `/site/assets/context/api/endpoints.json` - existing API endpoints - `/site/assets/context/api/schemas/` - data schemas - `/site/assets/context/snippets/api-examples.php` - code patterns 2. Agent might pick up /prompts/ In SKILL.md and README.me the "AI prompts and instructions" and similar text bits might be misleading for an agent. When someone feeds the LLM manually with necessary files only, this is not an issue, but when feeding an agent via SKILL.md, it would be preferable to clearly state that these files are only templates for LLM/Agent prompting, so an automated agent should leave them alone. Sure, I can simply turn it off in the setting, but just a safeguard, a better wording for them would be welcome. 2. Tiny UX request: Sometimes I close the Settings tab, and even the browser's "open recent tab" is just not an option "anymore", so a button like "Go to Module's Settings" would be handy: Thank you in advance for considering.
  16. Nice solution! @Mikel Thanks for sharing! I will surely try it out. I used the style's menu for solving this, but your module is sure a lot more user-friendly.
  17. @maximus Thanx a lot! A little request: for Cline to pick up a SKILL (unfortunately) the name must exactly match the folder's name `name: context`. So `name: ProcessWire Context - example.com` does not work. In Cline, one can turn SKILLs on/off to save on token usage. Obviously, skills turned off will be excluded. Currently, mine looks like this: Well, the UI is clearly not designed for a lot of skills and mass management of them, but it's still in beta, so I hope it will be improved in the future. I did experiment with how Cline handles the context skill. Here is what I found: Test 1: Finding Child Pages Task: What pages are under the 'About Us' page? Without the context skill: It queries the database and is actually able to give the same information, plus a bit more (page IDs, for example). This uses about 19-24k of the 200k context window. With the context skill: I specifically asked: "What pages are under the 'About Us' page? Do not query the database. Use the SKILL named context to figure it out." Using the skill only is (of course) a lot faster. Both ways used about 19-24k context, but with the skill only, Cline just read 2 files (agents/skills/context/tree.json and agents/skills/context/structure.txt) and outputted: Under the "About Us" page (template: basic-page), there are 3 child pages: Terms & Conditions (template: basic-page) Disclaimer (template: basic-page) Privacy Policy (template: basic-page) Test 2: Explaining Repeater Matrix Fields Task: Explain what Repeater Matrix fields are used by the system, and for what. I tried asking both: "Explain what Repeater Matrix fields are used by the system, and for what. Do not query the database." and just: "Explain what Repeater Matrix fields are used by the system, and for what." Both resulted in similar outcomes, and the database was not queried. Cline read 12 files (the first two were agents/skills/context/matrix-templates.json and agents/skills/context/structure.txt) and also analyzed the template files. For a 99k context usage cost, I got a general overview, not just the structure, but how they are actually used. Restricted to context skill only: Next, I tested this: "Explain what Repeater Matrix fields are used by the system, and for what. Only query the skill named context and nothing else." For a 21k context window usage, I got the structure and info on what they are used for. Naturally, because it was no allowed to analyze the templates, it could not completally figure out how they are actually used in practice. I think Cline is great. It is – of course – an improvement over a simple chat window when the developer needs to manually provide files and context for each session. I am yet to test its Memory Bank and other advanced features, but even my basic Skills setup is very powerful already. And thanks to z.ai's GLM-5.1, using it is pretty cheap.
  18. Turns out, I started using Cline in PHPStorm instead of Junie. I used up all credits – that came with Junie's trial period – in no time. However, that was not enough time to decide if Junie is worth the money or not. My main issue was that I want to use agent Skills, but Junie is still in "beta" state in that regard and it has no useful documentation on its Skills feature either. Being new to coding with AI agents, I do not want to spend money on something I do not have enough time to play with in advance. So I looked for alternatives, and found the Cline plugin (extension), and sort of fell in love with it at first sight :D I have a z.ai subscription (GLM Coding Lite-Yearly Plan) which was cheap thanks to last year's Black Friday deal (thanks to @wbmnfktr for mentioning z.ai to me) and the GLM-5.x models are pretty good (https://docs.z.ai/guides/llm/glm-5#coding-performance-on-par-with-claude-opus-4-5) so the Cline + GLM-5.x combo works well, cheap and is relatively easy to get started with. My subscription has a "5 Hours Usage Quota" and the maximum I used it so far was only 6% percent in a 5-hour coding session, giving me plenty of room for a lot more usage. So this setup is cheap and powerful, I "just" need to develop my own Skills library, on which I already started to work on. (BTW, JetBrains IDEs do support 3rd party LLM providers, but z.ai has a non-standard BASE URL, and the IDE does not support that which is a shame. It fails just because of that.) Anyway, thanks to the output path being configurable in the settings of Contex, I pointed it to .agents/skills (that's where Cline saves its files, contrary to Cline's official doc page which is erroneously states it is [~/].cline/skills), so now the module generates files into .agents/skills/context. So far so good, but a Skill to be used properly by the agent needs a proper SKILL.md file too. At least that is my understanding. So I vibe coded a BASH script to generate SKILL.md for me, I just need to run it after each Context generation process, and I get the following in .agents/skills/context/SKILL.md : I am not sure this is the best SKILL.md content but the LLM suggested this and it aligns with Cline's recommendation (after I asked the model to make it align...), so I started using/testing it. @maximus I wonder if you could add support for optionally generating SKILL.md, too. The issue with SKILL.md files is that agents seem to have certain preferences regarding their content (ie. the format of the information is presented in them), so maybe a template-based approach could be adopted. I am just brainstorming here as I have no specific idea about how such a template option could be implemented. Thanks in advance for considering.
  19. Woah! Congrats! I'm loving this :) http://suneditor.com/sample/index.html This one? Could you please compare it to ProcessWire's WYSIWYG editors?
  20. szabesz

    I'm back

    Nice to see you again! What? Has it really been 7? Feels like yesterday...
  21. @ai_slop No worries. I have news regarding my issue. Finally, today Kimi's support replied! (They are definitely having trouble replying to support requests in a timely manner.) Their reply was a step-by-step guide on how to get to their subscription page, the one we are talking about. They also asked for a screenshot of it, even though I provided it in both of my support request emails. Even though I supposedly deleted my account, I could just log in again as usual. So, I made a full browser window screenshot of the same page you and I have already shared our screenshot of, in which there is no "Cancel Plan" button. Support asked: "If there are any other questions, please contact us." I replied: "Now what?" Just a week or two, and they will probably reply again... Cheers,
  22. Hello, Recently I did an extensive research and found https://maileroo.com/pricing to be the best value compared to similar services I found. I registered with them, but the project I will use it for has not yet reached the point where it is actually needed. The ProcessWire instance in question can also handle the initial email sending volumes using the VPN’s own SMTP service.
  23. @Peter Knight Thanks for the work on this, Peter. Gemini AI actually helped me realize that it should work seamlessly with my PhpStorm + Cline + z.ai setup as well. Since your module includes the local Node.js MCP script, I should just be able to point my local Cline instance to that file via its MCP settings, and it will handle the sync workflow right inside PhpStorm. Looking forward to the release!
  24. @_Roy_ Just a quick tip: if mod_security will be enabled and you run into troubles, most of the time the only option is to disable mod_security.
  25. For a "brand new" host (one I've never used before), I always start with a clean installation of ProcessWire because the installer runs its requirements checks during installation. After successfully installing ProcessWire, I replace all files and the database, adjust the config settings, and then it's ready to go.
×
×
  • Create New...