@kenkaiiii/ggcoder 4.3.186 → 4.3.187

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"prompt-commands.d.ts","sourceRoot":"","sources":["../../src/core/prompt-commands.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe,EAAE,aAAa,EAwwC1C,CAAC;AAEF,gDAAgD;AAChD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAExE"}
1
+ {"version":3,"file":"prompt-commands.d.ts","sourceRoot":"","sources":["../../src/core/prompt-commands.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe,EAAE,aAAa,EA6xC1C,CAAC;AAEF,gDAAgD;AAChD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAExE"}
@@ -78,11 +78,13 @@ Rules:
78
78
  After the table, ask exactly:
79
79
 
80
80
  What should I do?
81
- A) Remove all High-safety dead code
82
- B) Remove only top priorities
81
+ A) Create tasks to remove all High-safety dead code
82
+ B) Create tasks to remove only top priorities
83
83
  C) Skip
84
84
 
85
- Do not start deleting or editing until the user chooses.`,
85
+ Do not start deleting or editing until the user chooses.
86
+
87
+ If the user chooses A or B, do not remove code directly. Instead, use the tasks tool to create one task per selected removal or tightly coupled removal group, ordered by dependency and risk. Each task prompt must be standalone and include the exact locations, safety evidence, reference-search requirements, removal instructions, project verification commands, and instructions to compare with kencode search before marking the task complete. After creating tasks, tell the user exactly: "Tasks created. Press CTRL + T to open the Tasks Pane and press R to run all tasks." Do not begin executing them unless the user explicitly starts a task.`,
86
88
  },
87
89
  {
88
90
  name: "verify",
@@ -149,11 +151,13 @@ Rules:
149
151
  After the table, ask exactly:
150
152
 
151
153
  Which should I do?
152
- A) Refine and adjust all
153
- B) Just top priorities
154
+ A) Create tasks to refine and adjust all
155
+ B) Create tasks for just top priorities
154
156
  C) Skip
155
157
 
156
- Do not start fixing until the user chooses.`,
158
+ Do not start fixing until the user chooses.
159
+
160
+ If the user chooses A or B, do not fix directly. Instead, use the tasks tool to create one task per selected finding or tightly coupled finding group, ordered by dependency and priority. Each task prompt must be standalone and include the finding, affected local files/anchors, kencode evidence from the report, instructions to compare the approach with kencode search before editing, implementation instructions, project verification commands, and instructions to compare the final implementation with kencode search again before marking the task complete. After creating tasks, tell the user exactly: "Tasks created. Press CTRL + T to open the Tasks Pane and press R to run all tasks." Do not begin executing them unless the user explicitly starts a task.`,
157
161
  },
158
162
  {
159
163
  name: "expand",
@@ -253,12 +257,26 @@ Rules:
253
257
  After the tables, ask exactly:
254
258
 
255
259
  What should I do?
256
- A) Add all P0/P1 gaps
257
- B) Add only the top priority gap from each category
260
+ A) Create tasks for all P0/P1 gaps
261
+ B) Create tasks for only the top priority gap from each category
258
262
  C) Create an implementation plan first
259
263
  D) Skip
260
264
 
261
- Do not start implementing until the user chooses.`,
265
+ Do not start implementing until the user chooses.
266
+
267
+ If the user chooses A, B, or C, do not implement gaps or write the plan directly. Instead, use the tasks tool:
268
+
269
+ - For A or B: create one implementation task per selected gap, ordered by dependency and priority.
270
+ - For C: create one planning task that produces the implementation plan, with enough source evidence and local anchors to be standalone.
271
+
272
+ Each task prompt must be standalone and include:
273
+
274
+ 1. The specific gap or planning scope, including relevant local files/anchors and source evidence from the /expand report.
275
+ 2. Instructions to compare the implementation approach with kencode search before editing, using literal code tokens and current real-world examples.
276
+ 3. Instructions to implement the gap or plan the implementation in the local codebase.
277
+ 4. Instructions to verify correctness after implementation by running project checks and by comparing the final implementation with kencode search again before marking the task complete. For planning tasks, require kencode-backed implementation references in the plan.
278
+
279
+ After creating tasks, tell the user exactly: "Tasks created. Press CTRL + T to open the Tasks Pane and press R to run all tasks." Do not begin executing them unless the user explicitly starts a task.`,
262
280
  },
263
281
  {
264
282
  name: "bullet-proof",
@@ -395,13 +413,15 @@ Threat model: [from recon]
395
413
  After the report, ask:
396
414
 
397
415
  > Which (if any) should I fix? Options:
398
- > - A) All Critical + High
399
- > - B) Pick specific findings (give IDs, e.g. "BP-001, BP-004")
400
- > - C) Pick category (auth, supply chain, secrets, …)
416
+ > - A) Create tasks for all Critical + High
417
+ > - B) Create tasks for specific findings (give IDs, e.g. "BP-001, BP-004")
418
+ > - C) Create tasks for a category (auth, supply chain, secrets, …)
401
419
  > - D) None — report only
402
420
 
403
421
  **Do not start fixing until the user picks.**
404
422
 
423
+ If the user chooses A, B, or C, do not fix directly. Instead, use the tasks tool to create one task per selected finding or tightly coupled finding group, ordered by severity, exploitability, and dependency. Each task prompt must be standalone and include the finding ID, vulnerability scenario, affected local files/anchors, concrete remediation, instructions to compare security-sensitive implementation details with kencode search or authoritative docs before editing, project verification commands, and instructions to compare the final fix with kencode search or authoritative docs again before marking the task complete. After creating tasks, tell the user exactly: "Tasks created. Press CTRL + T to open the Tasks Pane and press R to run all tasks." Do not begin executing them unless the user explicitly starts a task.
424
+
405
425
  ## Threat reference (May 2026)
406
426
 
407
427
  Cite these as needed per audit. Do not dump them into the report — use them to verify whether a candidate is actually reachable.
@@ -1275,15 +1295,16 @@ At the end:
1275
1295
  <N> gaps in hygiene, <N> in tooling, <N> in verify pipeline, <N> in style-pack alignment.
1276
1296
 
1277
1297
  Which (if any) would you like me to fix? Options:
1278
- - A) All [GAP] items that are safe + additive (no overwrites)
1279
- - B) Pick category: hygiene / tooling / verify / style-pack alignment
1280
- - C) Specific items — tell me which
1298
+ - A) Create tasks for all [GAP] items that are safe + additive (no overwrites)
1299
+ - B) Create tasks for a category: hygiene / tooling / verify / style-pack alignment
1300
+ - C) Create tasks for specific items — tell me which
1281
1301
  - D) None — just the report
1282
1302
  \`\`\`
1283
1303
 
1284
1304
  ## Rules
1285
1305
 
1286
1306
  - **Report only.** No edits, no installs, no commits without explicit user confirmation after the report.
1307
+ - **Task handoff for fixes.** If the user chooses A, B, or C, do not fix directly. Use the tasks tool to create one standalone task per selected gap or tightly coupled gap group. Each task must include the gap, affected files/configs, safe-additive constraints, implementation instructions, project verification commands, and instructions to compare with kencode search before marking the task complete. After creating tasks, tell the user exactly: "Tasks created. Press CTRL + T to open the Tasks Pane and press R to run all tasks." Do not begin executing them unless the user explicitly starts a task.
1287
1308
  - **No code refactors recommended.** This audit is about scaffolding/tooling, not code review. Use \`/scan\` or \`/verify\` for code-level findings.
1288
1309
  - **No dependency installations in the report.** Listing them as observations is fine; recommending installation is not — that's the user's call.
1289
1310
  - **Skip empty categories.** If a category has no findings, omit it.
@@ -1 +1 @@
1
- {"version":3,"file":"prompt-commands.js","sourceRoot":"","sources":["../../src/core/prompt-commands.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C;QACE,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,+BAA+B;QAC5C,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDA2E6C;KACtD;IACD;QACE,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,yDAAyD;QACtE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAiEgC;KACzC;IACD;QACE,IAAI,EAAE,QAAQ;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;iFAeqE;KAC9E;IACD;QACE,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kDAAkD;QAC/D,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gLA6FoK;KAC7K;IACD;QACE,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,WAAW,EAAE,2EAA2E;QACxF,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6JAwFiJ;KAC1J;CACF,CAAC;AAEF,gDAAgD;AAChD,MAAM,UAAU,gBAAgB,CAAC,IAAY;IAC3C,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,IAAI,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;AACxF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenkaiiii/ggcoder",
3
- "version": "4.3.186",
3
+ "version": "4.3.187",
4
4
  "type": "module",
5
5
  "description": "CLI coding agent with OAuth authentication for Anthropic and OpenAI",
6
6
  "license": "MIT",
@@ -78,9 +78,9 @@
78
78
  "string-width": "^8.2.0",
79
79
  "wrap-ansi": "^10.0.0",
80
80
  "zod": "^4.4.3",
81
- "@kenkaiiii/gg-agent": "4.3.186",
81
+ "@kenkaiiii/gg-agent": "4.3.187",
82
+ "@kenkaiiii/gg-ai": "4.3.187",
82
83
  "@kenkaiiii/gg-pixel": "4.3.95",
83
- "@kenkaiiii/gg-ai": "4.3.186",
84
84
  "@kenkaiiii/ggcoder-eyes": "0.1.2"
85
85
  },
86
86
  "optionalDependencies": {