@cydm/pie 1.0.24 → 1.0.26

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 (31) hide show
  1. package/README.md +23 -5
  2. package/dist/builtin/extensions/ask-user/index.js +3 -4
  3. package/dist/builtin/extensions/ask-user/package.json +16 -0
  4. package/dist/builtin/extensions/changelog/index.js +65 -65
  5. package/dist/builtin/extensions/changelog/package.json +11 -0
  6. package/dist/builtin/extensions/deploy/package.json +11 -0
  7. package/dist/builtin/extensions/document-attachments/package.json +11 -0
  8. package/dist/builtin/extensions/files/package.json +14 -0
  9. package/dist/builtin/extensions/init/index.js +33 -33
  10. package/dist/builtin/extensions/init/package.json +11 -0
  11. package/dist/builtin/extensions/kimi-attachments/index.js +1 -1
  12. package/dist/builtin/extensions/kimi-attachments/package.json +11 -0
  13. package/dist/builtin/extensions/plan-mode/index.js +5 -34
  14. package/dist/builtin/extensions/plan-mode/package.json +11 -0
  15. package/dist/builtin/extensions/subagent/index.js +4 -5
  16. package/dist/builtin/extensions/subagent/package.json +14 -0
  17. package/dist/builtin/extensions/todo/index.js +3 -4
  18. package/dist/builtin/extensions/todo/package.json +11 -0
  19. package/dist/chunks/{chunk-X44YTB6R.js → chunk-4B42ZU4B.js} +1 -1
  20. package/dist/chunks/{chunk-HAAYC2N5.js → chunk-64XJIKVK.js} +334 -99
  21. package/dist/chunks/{chunk-QYYRJ7JW.js → chunk-GARJAWH6.js} +375 -252
  22. package/dist/chunks/{chunk-XWNIIJ3X.js → chunk-L63BJMTT.js} +7537 -6629
  23. package/dist/chunks/{src-PENSDHBM.js → src-27UD2ZBZ.js} +2 -2
  24. package/dist/chunks/{test-stream-PRUYMLXQ.js → test-stream-ZNGAUUVH.js} +6 -2
  25. package/dist/cli.js +2229 -1686
  26. package/dist/{chunks/typescript-GSKWJIO4.js → code-intel-worker.cjs} +2507 -2031
  27. package/models.schema.json +38 -13
  28. package/package.json +10 -6
  29. package/dist/chunks/chunk-J4P2LP7K.js +0 -3846
  30. package/dist/chunks/chunk-QMIIW75M.js +0 -95
  31. package/dist/session-preview-worker.js +0 -159
@@ -3,8 +3,8 @@ import {
3
3
  Agent,
4
4
  agentLoop,
5
5
  agentLoopContinue
6
- } from "./chunk-X44YTB6R.js";
7
- import "./chunk-HAAYC2N5.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-HAAYC2N5.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) {