poe-code 3.0.216 → 3.0.218

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 (71) hide show
  1. package/dist/index.js +727 -372
  2. package/dist/index.js.map +4 -4
  3. package/dist/providers/claude-code.js +20 -11
  4. package/dist/providers/claude-code.js.map +4 -4
  5. package/dist/providers/codex.js +20 -11
  6. package/dist/providers/codex.js.map +4 -4
  7. package/dist/providers/goose.js +20 -11
  8. package/dist/providers/goose.js.map +4 -4
  9. package/dist/providers/kimi.js +20 -11
  10. package/dist/providers/kimi.js.map +4 -4
  11. package/dist/providers/opencode.js +20 -11
  12. package/dist/providers/opencode.js.map +4 -4
  13. package/dist/providers/poe-agent.js +569 -239
  14. package/dist/providers/poe-agent.js.map +4 -4
  15. package/package.json +3 -1
  16. package/packages/design-system/dist/dashboard/buffer.js +8 -1
  17. package/packages/design-system/dist/dashboard/keymap.d.ts +5 -0
  18. package/packages/design-system/dist/dashboard/keymap.js +146 -12
  19. package/packages/design-system/dist/dashboard/terminal.js +31 -0
  20. package/packages/design-system/dist/dashboard/types.d.ts +1 -0
  21. package/packages/design-system/dist/explorer/actions.d.ts +16 -0
  22. package/packages/design-system/dist/explorer/actions.js +39 -0
  23. package/packages/design-system/dist/explorer/demo.d.ts +13 -0
  24. package/packages/design-system/dist/explorer/demo.js +297 -0
  25. package/packages/design-system/dist/explorer/events.d.ts +61 -0
  26. package/packages/design-system/dist/explorer/events.js +1 -0
  27. package/packages/design-system/dist/explorer/filter.d.ts +10 -0
  28. package/packages/design-system/dist/explorer/filter.js +95 -0
  29. package/packages/design-system/dist/explorer/index.d.ts +8 -0
  30. package/packages/design-system/dist/explorer/index.js +8 -0
  31. package/packages/design-system/dist/explorer/jobs.d.ts +7 -0
  32. package/packages/design-system/dist/explorer/jobs.js +59 -0
  33. package/packages/design-system/dist/explorer/keymap.d.ts +21 -0
  34. package/packages/design-system/dist/explorer/keymap.js +363 -0
  35. package/packages/design-system/dist/explorer/layout.d.ts +20 -0
  36. package/packages/design-system/dist/explorer/layout.js +73 -0
  37. package/packages/design-system/dist/explorer/reducer.d.ts +9 -0
  38. package/packages/design-system/dist/explorer/reducer.js +704 -0
  39. package/packages/design-system/dist/explorer/render/detail.d.ts +4 -0
  40. package/packages/design-system/dist/explorer/render/detail.js +96 -0
  41. package/packages/design-system/dist/explorer/render/footer.d.ts +4 -0
  42. package/packages/design-system/dist/explorer/render/footer.js +49 -0
  43. package/packages/design-system/dist/explorer/render/header.d.ts +4 -0
  44. package/packages/design-system/dist/explorer/render/header.js +56 -0
  45. package/packages/design-system/dist/explorer/render/index.d.ts +8 -0
  46. package/packages/design-system/dist/explorer/render/index.js +61 -0
  47. package/packages/design-system/dist/explorer/render/list.d.ts +4 -0
  48. package/packages/design-system/dist/explorer/render/list.js +106 -0
  49. package/packages/design-system/dist/explorer/render/modal.d.ts +3 -0
  50. package/packages/design-system/dist/explorer/render/modal.js +91 -0
  51. package/packages/design-system/dist/explorer/render/test-fixtures.d.ts +8 -0
  52. package/packages/design-system/dist/explorer/render/test-fixtures.js +156 -0
  53. package/packages/design-system/dist/explorer/runtime.d.ts +2 -0
  54. package/packages/design-system/dist/explorer/runtime.js +282 -0
  55. package/packages/design-system/dist/explorer/runtime.test-helpers.d.ts +50 -0
  56. package/packages/design-system/dist/explorer/runtime.test-helpers.js +101 -0
  57. package/packages/design-system/dist/explorer/state.d.ts +130 -0
  58. package/packages/design-system/dist/explorer/state.js +87 -0
  59. package/packages/design-system/dist/explorer/theme.d.ts +27 -0
  60. package/packages/design-system/dist/explorer/theme.js +97 -0
  61. package/packages/design-system/dist/index.d.ts +3 -0
  62. package/packages/design-system/dist/index.js +3 -0
  63. package/packages/memory/dist/index.js +9 -0
  64. package/packages/memory/dist/index.js.map +3 -3
  65. package/packages/superintendent/dist/commands/builder-group.d.ts +16 -16
  66. package/packages/superintendent/dist/commands/complete.d.ts +6 -6
  67. package/packages/superintendent/dist/commands/inspector-group.d.ts +36 -36
  68. package/packages/superintendent/dist/commands/install.d.ts +6 -6
  69. package/packages/superintendent/dist/commands/plan-path.d.ts +2 -2
  70. package/packages/superintendent/dist/commands/run.d.ts +60 -60
  71. package/packages/superintendent/dist/commands/superintendent-group.d.ts +146 -146
@@ -4865,6 +4865,15 @@ import chalk8 from "chalk";
4865
4865
  import readline from "node:readline";
4866
4866
  import { PassThrough as PassThrough2 } from "node:stream";
4867
4867
 
4868
+ // packages/design-system/src/explorer/state.ts
4869
+ var REGION_HEADER = 1 << 0;
4870
+ var REGION_LIST = 1 << 1;
4871
+ var REGION_DETAIL = 1 << 2;
4872
+ var REGION_FOOTER = 1 << 3;
4873
+ var REGION_MODAL = 1 << 4;
4874
+ var REGION_TOAST = 1 << 5;
4875
+ var REGION_ALL = REGION_HEADER | REGION_LIST | REGION_DETAIL | REGION_FOOTER | REGION_MODAL | REGION_TOAST;
4876
+
4868
4877
  // packages/design-system/src/prompts/index.ts
4869
4878
  import chalk15 from "chalk";
4870
4879
  import * as clack from "@clack/prompts";
@@ -4999,8 +5008,8 @@ async function runServiceInstall(definition, context) {
4999
5008
  return true;
5000
5009
  }
5001
5010
  const platformSteps = filterStepsByPlatform(definition.steps, context.platform);
5002
- for (const step of platformSteps) {
5003
- await runInstallStep(step, context);
5011
+ for (const step2 of platformSteps) {
5012
+ await runInstallStep(step2, context);
5004
5013
  }
5005
5014
  await definition.check.run(checkContext);
5006
5015
  if (definition.postChecks) {
@@ -5013,8 +5022,8 @@ async function runServiceInstall(definition, context) {
5013
5022
  );
5014
5023
  return true;
5015
5024
  }
5016
- function describeInstallCommand(step) {
5017
- return `[${step.id}] ${formatCommand2(step.command, step.args)}`;
5025
+ function describeInstallCommand(step2) {
5026
+ return `[${step2.id}] ${formatCommand2(step2.command, step2.args)}`;
5018
5027
  }
5019
5028
  function formatCommand2(command, args) {
5020
5029
  return [command, ...args.map(quoteIfNeeded)].join(" ");
@@ -5030,24 +5039,24 @@ function quoteIfNeeded(value) {
5030
5039
  }
5031
5040
  function filterStepsByPlatform(steps, platform) {
5032
5041
  return steps.filter(
5033
- (step) => !step.platforms || step.platforms.includes(platform)
5042
+ (step2) => !step2.platforms || step2.platforms.includes(platform)
5034
5043
  );
5035
5044
  }
5036
5045
  function logInstallDryRun(definition, context) {
5037
5046
  context.logger(`Dry run: would install ${definition.summary}.`);
5038
5047
  const platformSteps = filterStepsByPlatform(definition.steps, context.platform);
5039
- for (const step of platformSteps) {
5040
- context.logger(`Dry run: ${describeInstallCommand(step)}`);
5048
+ for (const step2 of platformSteps) {
5049
+ context.logger(`Dry run: ${describeInstallCommand(step2)}`);
5041
5050
  }
5042
5051
  }
5043
- async function runInstallStep(step, context) {
5044
- context.logger(`Running ${describeInstallCommand(step)}`);
5045
- const result = await context.runCommand(step.command, step.args);
5052
+ async function runInstallStep(step2, context) {
5053
+ context.logger(`Running ${describeInstallCommand(step2)}`);
5054
+ const result = await context.runCommand(step2.command, step2.args);
5046
5055
  if (result.exitCode !== 0) {
5047
5056
  const stderr = result.stderr.trim();
5048
5057
  const suffix = stderr.length > 0 ? `: ${stderr}` : "";
5049
5058
  throw new Error(
5050
- `${describeInstallCommand(step)} failed with exit code ${result.exitCode}${suffix}`
5059
+ `${describeInstallCommand(step2)} failed with exit code ${result.exitCode}${suffix}`
5051
5060
  );
5052
5061
  }
5053
5062
  }