@denizokcu/haze 1.7.11 → 1.7.12

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 (80) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +113 -97
  3. package/assets/graph-grammars/NOTICE.md +21 -0
  4. package/assets/graph-grammars/tree-sitter-javascript.wasm +0 -0
  5. package/assets/graph-grammars/tree-sitter-tsx.wasm +0 -0
  6. package/assets/graph-grammars/tree-sitter-typescript.wasm +0 -0
  7. package/assets/graph-grammars/web-tree-sitter.cjs +4116 -0
  8. package/assets/graph-grammars/web-tree-sitter.cjs.map +7 -0
  9. package/assets/graph-grammars/web-tree-sitter.js +4056 -0
  10. package/assets/graph-grammars/web-tree-sitter.js.map +7 -0
  11. package/assets/graph-grammars/web-tree-sitter.wasm +0 -0
  12. package/assets/graph-grammars/web-tree-sitter.wasm.map +55 -0
  13. package/dist/buildInfo.json +3 -3
  14. package/dist/cli/chat/inputSuggestions.js +1 -0
  15. package/dist/cli/chat/sessionLifecycle.js +2 -1
  16. package/dist/cli/chat/sessionRecorder.js +4 -1
  17. package/dist/cli/chat/startupSequence.d.ts +2 -0
  18. package/dist/cli/chat/startupSequence.js +6 -0
  19. package/dist/cli/commands/chat.js +5 -2
  20. package/dist/cli/commands/commandHelp.js +4 -1
  21. package/dist/cli/commands/commands.js +2 -0
  22. package/dist/cli/commands/formatters.js +28 -0
  23. package/dist/cli/commands/graphCommand.d.ts +2 -0
  24. package/dist/cli/commands/graphCommand.js +60 -0
  25. package/dist/cli/commands/initCommand.js +14 -0
  26. package/dist/cli/commands/streaming/agentAttempt.js +11 -1
  27. package/dist/cli/commands/streaming/attemptOutcome.js +1 -1
  28. package/dist/cli/commands/streaming/attemptSetup.d.ts +3 -0
  29. package/dist/cli/commands/streaming/attemptSetup.js +8 -3
  30. package/dist/cli/commands/streaming/goalSupervisor.js +5 -3
  31. package/dist/cli/commands/streaming/prepareStep.js +1 -0
  32. package/dist/cli/commands/streaming/streamLoop.d.ts +2 -0
  33. package/dist/cli/commands/streaming/streamLoop.js +3 -0
  34. package/dist/cli/commands/streaming/toolPartHandlers.js +7 -1
  35. package/dist/cli/commands/streaming.js +5 -0
  36. package/dist/core/agent/compaction.d.ts +1 -0
  37. package/dist/core/agent/compaction.js +3 -0
  38. package/dist/core/graph/analyze.d.ts +61 -0
  39. package/dist/core/graph/analyze.js +274 -0
  40. package/dist/core/graph/buildGraph.d.ts +44 -0
  41. package/dist/core/graph/buildGraph.js +290 -0
  42. package/dist/core/graph/digest.d.ts +2 -0
  43. package/dist/core/graph/digest.js +40 -0
  44. package/dist/core/graph/extract.d.ts +58 -0
  45. package/dist/core/graph/extract.js +394 -0
  46. package/dist/core/graph/model.d.ts +63 -0
  47. package/dist/core/graph/model.js +96 -0
  48. package/dist/core/graph/query.d.ts +69 -0
  49. package/dist/core/graph/query.js +391 -0
  50. package/dist/core/graph/store.d.ts +64 -0
  51. package/dist/core/graph/store.js +171 -0
  52. package/dist/core/process/runBoundedProcess.js +12 -6
  53. package/dist/core/safety/untrustedEnvelopes.d.ts +6 -0
  54. package/dist/core/safety/untrustedEnvelopes.js +17 -2
  55. package/dist/core/subagent/executionProfiles.js +4 -4
  56. package/dist/core/tasks/taskStorage.js +11 -1
  57. package/dist/core/validation/outputParser.js +16 -8
  58. package/dist/llm/hazeTools.d.ts +2 -12426
  59. package/dist/llm/hazeTools.js +2 -0
  60. package/dist/llm/lspTools.d.ts +3 -12622
  61. package/dist/llm/requestContext.d.ts +3 -0
  62. package/dist/llm/requestContext.js +13 -4
  63. package/dist/llm/subagentRunner.d.ts +2 -308
  64. package/dist/llm/systemPrompt.js +7 -4
  65. package/dist/llm/toolResultTypes.d.ts +1 -1
  66. package/dist/llm/tools/fetchTool.d.ts +2 -1221
  67. package/dist/llm/tools/fileTools.d.ts +2 -7768
  68. package/dist/llm/tools/graphAdvisory.d.ts +22 -0
  69. package/dist/llm/tools/graphAdvisory.js +68 -0
  70. package/dist/llm/tools/graphTools.d.ts +13 -0
  71. package/dist/llm/tools/graphTools.js +195 -0
  72. package/dist/llm/tools/processTool.d.ts +2 -1081
  73. package/dist/llm/tools/shellTool.d.ts +2 -1513
  74. package/dist/llm/tools/storedOutputTool.d.ts +2 -355
  75. package/dist/llm/tools/taskTool.d.ts +2 -489
  76. package/dist/llm/tools/toolContext.js +24 -9
  77. package/dist/llm/tools/toolContextState.d.ts +3 -0
  78. package/dist/llm/tools/toolContextState.js +2 -1
  79. package/dist/skills/skillTools.js +4 -1
  80. package/package.json +18 -15
@@ -4,6 +4,7 @@ import { fileTools } from './tools/fileTools.js';
4
4
  import { fetchTool } from './tools/fetchTool.js';
5
5
  import { shellTool } from './tools/shellTool.js';
6
6
  import { processTool } from './tools/processTool.js';
7
+ import { graphTools } from './tools/graphTools.js';
7
8
  /**
8
9
  * The public built-in tool catalog. Implementations live in `tools/`
9
10
  * (`fileTools.ts` holds the workspace file tools); this file only composes.
@@ -15,4 +16,5 @@ export const hazeTools = {
15
16
  fetch: fetchTool,
16
17
  shell: shellTool,
17
18
  process: processTool,
19
+ ...graphTools,
18
20
  };