@cydm/pie 1.0.23 → 1.0.25

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.
Files changed (28) hide show
  1. package/README.md +51 -5
  2. package/dist/builtin/extensions/ask-user/index.js +3 -3
  3. package/dist/builtin/extensions/ask-user/package.json +16 -0
  4. package/dist/builtin/extensions/changelog/package.json +11 -0
  5. package/dist/builtin/extensions/deploy/package.json +11 -0
  6. package/dist/builtin/extensions/document-attachments/package.json +11 -0
  7. package/dist/builtin/extensions/files/package.json +14 -0
  8. package/dist/builtin/extensions/init/package.json +11 -0
  9. package/dist/builtin/extensions/kimi-attachments/package.json +11 -0
  10. package/dist/builtin/extensions/plan-mode/index.js +3 -3
  11. package/dist/builtin/extensions/plan-mode/package.json +11 -0
  12. package/dist/builtin/extensions/subagent/index.js +4 -4
  13. package/dist/builtin/extensions/subagent/package.json +14 -0
  14. package/dist/builtin/extensions/todo/index.js +3 -3
  15. package/dist/builtin/extensions/todo/package.json +11 -0
  16. package/dist/builtin/skills/browser-tools/README.md +1 -1
  17. package/dist/builtin/skills/browser-tools/SKILL.md +3 -3
  18. package/dist/builtin/skills/browser-tools/playwright-cli.js +22 -1
  19. package/dist/chunks/{chunk-PUZP2Q3F.js → chunk-4B42ZU4B.js} +1 -1
  20. package/dist/chunks/{chunk-7ABSJC2D.js → chunk-64XJIKVK.js} +371 -120
  21. package/dist/chunks/{chunk-4WU5VAX4.js → chunk-BEWVRLCP.js} +387 -230
  22. package/dist/chunks/{chunk-AFTBFF6J.js → chunk-O4DPFYYP.js} +3425 -416
  23. package/dist/chunks/{src-UCXJ4C6P.js → src-27UD2ZBZ.js} +2 -2
  24. package/dist/chunks/{test-stream-UKULOPZB.js → test-stream-ZNGAUUVH.js} +6 -2
  25. package/dist/cli.js +3574 -2050
  26. package/dist/{chunks/typescript-GSKWJIO4.js → code-intel-worker.cjs} +2507 -2031
  27. package/models.schema.json +38 -13
  28. package/package.json +11 -7
@@ -3,8 +3,8 @@ import {
3
3
  Agent,
4
4
  agentLoop,
5
5
  agentLoopContinue
6
- } from "./chunk-PUZP2Q3F.js";
7
- import "./chunk-7ABSJC2D.js";
6
+ } from "./chunk-4B42ZU4B.js";
7
+ import "./chunk-64XJIKVK.js";
8
8
  import "./chunk-TG2EQLX2.js";
9
9
  export {
10
10
  Agent,
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  EventStream
4
- } from "./chunk-7ABSJC2D.js";
4
+ } from "./chunk-64XJIKVK.js";
5
5
  import "./chunk-TG2EQLX2.js";
6
6
 
7
7
  // src/app/test-stream.ts
@@ -59,7 +59,11 @@ function createTestStreamFnFromSequenceEnv(value = process.env.PIE_TEST_MOCK_STR
59
59
  callIndex += 1;
60
60
  const stream = new EventStream(
61
61
  (event) => event.type === "done" || event.type === "error",
62
- (event) => event.type === "done" ? event.message : event.error
62
+ (event) => {
63
+ if (event.type === "done") return event.message;
64
+ if (event.type === "error") return event.error;
65
+ throw new Error("mock stream terminated without a terminal event");
66
+ }
63
67
  );
64
68
  queueMicrotask(() => {
65
69
  if (!step) {