@ottocode/web-sdk 0.1.275 → 0.1.277

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 (40) hide show
  1. package/dist/components/chat/ChatInputContainer.d.ts.map +1 -1
  2. package/dist/components/chat/InputQueueBar.d.ts.map +1 -1
  3. package/dist/components/file-browser/FileViewerPanel.d.ts +2 -1
  4. package/dist/components/file-browser/FileViewerPanel.d.ts.map +1 -1
  5. package/dist/components/git/GitDiffViewer.d.ts.map +1 -1
  6. package/dist/components/index.js +1078 -433
  7. package/dist/components/index.js.map +23 -23
  8. package/dist/components/messages/MessagePartItem.d.ts.map +1 -1
  9. package/dist/components/messages/MessageThread.d.ts.map +1 -1
  10. package/dist/components/messages/MessageThreadContainer.d.ts.map +1 -1
  11. package/dist/components/messages/renderers/DiffView.d.ts.map +1 -1
  12. package/dist/components/session-files/SessionFilesDiffPanel.d.ts.map +1 -1
  13. package/dist/components/ui/CodeMirrorViewer.d.ts +2 -1
  14. package/dist/components/ui/CodeMirrorViewer.d.ts.map +1 -1
  15. package/dist/components/ui/Toaster.d.ts.map +1 -1
  16. package/dist/components/workspace/ToolPreviewPanel.d.ts.map +1 -1
  17. package/dist/components/workspace/ViewerTabs.d.ts.map +1 -1
  18. package/dist/hooks/index.js +309 -60
  19. package/dist/hooks/index.js.map +8 -8
  20. package/dist/hooks/useProviderUsage.d.ts +1 -1
  21. package/dist/hooks/useProviderUsage.d.ts.map +1 -1
  22. package/dist/hooks/useQueueState.d.ts +9 -0
  23. package/dist/hooks/useQueueState.d.ts.map +1 -1
  24. package/dist/hooks/useSessionStream.d.ts.map +1 -1
  25. package/dist/index.js +1096 -450
  26. package/dist/index.js.map +23 -23
  27. package/dist/lib/api-client/index.d.ts +13 -0
  28. package/dist/lib/api-client/index.d.ts.map +1 -1
  29. package/dist/lib/api-client/sessions.d.ts +13 -0
  30. package/dist/lib/api-client/sessions.d.ts.map +1 -1
  31. package/dist/lib/commands.d.ts.map +1 -1
  32. package/dist/lib/index.js +25 -1
  33. package/dist/lib/index.js.map +4 -4
  34. package/dist/stores/index.js +77 -16
  35. package/dist/stores/index.js.map +3 -3
  36. package/dist/stores/viewerTabsStore.d.ts +9 -0
  37. package/dist/stores/viewerTabsStore.d.ts.map +1 -1
  38. package/dist/types/api.d.ts +1 -1
  39. package/dist/types/api.d.ts.map +1 -1
  40. package/package.json +5 -3
@@ -1 +1 @@
1
- {"version":3,"file":"ChatInputContainer.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatInputContainer.tsx"],"names":[],"mappings":"AA8BA,UAAU,uBAAuB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,aAAa,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;CACrC;AAED,MAAM,WAAW,qBAAqB;IACrC,KAAK,EAAE,MAAM,IAAI,CAAC;CAClB;AAkBD,eAAO,MAAM,kBAAkB,sHAid9B,CAAC"}
1
+ {"version":3,"file":"ChatInputContainer.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatInputContainer.tsx"],"names":[],"mappings":"AA+BA,UAAU,uBAAuB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,aAAa,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;CACrC;AAED,MAAM,WAAW,qBAAqB;IACrC,KAAK,EAAE,MAAM,IAAI,CAAC;CAClB;AAkBD,eAAO,MAAM,kBAAkB,sHAue9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"InputQueueBar.d.ts","sourceRoot":"","sources":["../../../src/components/chat/InputQueueBar.tsx"],"names":[],"mappings":"AAgBA,UAAU,kBAAkB;IAC3B,SAAS,EAAE,MAAM,CAAC;CAClB;AAwFD,eAAO,MAAM,aAAa,0DAuIxB,CAAC"}
1
+ {"version":3,"file":"InputQueueBar.d.ts","sourceRoot":"","sources":["../../../src/components/chat/InputQueueBar.tsx"],"names":[],"mappings":"AAiBA,UAAU,kBAAkB;IAC3B,SAAS,EAAE,MAAM,CAAC;CAClB;AAkGD,eAAO,MAAM,aAAa,0DAkJxB,CAAC"}
@@ -1,9 +1,10 @@
1
- import type { ToolActivityHighlight, ToolPatchPreview, ToolWritePreview } from '../../stores/viewerTabsStore';
1
+ import type { ToolActivityAnnotation, ToolActivityHighlight, ToolPatchPreview, ToolWritePreview } from '../../stores/viewerTabsStore';
2
2
  interface FileViewerPanelProps {
3
3
  mode?: 'overlay' | 'pane';
4
4
  open?: boolean;
5
5
  file?: string | null;
6
6
  highlight?: ToolActivityHighlight;
7
+ annotations?: ToolActivityAnnotation[];
7
8
  patchPreview?: ToolPatchPreview;
8
9
  writePreview?: ToolWritePreview;
9
10
  onClose?: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"FileViewerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/file-browser/FileViewerPanel.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACX,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,8BAA8B,CAAC;AAuGtC,UAAU,oBAAoB;IAC7B,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,eAAe,4DAkT1B,CAAC"}
1
+ {"version":3,"file":"FileViewerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/file-browser/FileViewerPanel.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACX,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,8BAA8B,CAAC;AAuGtC,UAAU,oBAAoB;IAC7B,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,WAAW,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACvC,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,eAAe,4DAgV1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GitDiffViewer.d.ts","sourceRoot":"","sources":["../../../src/components/git/GitDiffViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAwBvD,UAAU,kBAAkB;IAC3B,IAAI,EAAE,eAAe,CAAC;CACtB;AA2BD,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE,kBAAkB,2CAqEzD"}
1
+ {"version":3,"file":"GitDiffViewer.d.ts","sourceRoot":"","sources":["../../../src/components/git/GitDiffViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAwBvD,UAAU,kBAAkB;IAC3B,IAAI,EAAE,eAAe,CAAC;CACtB;AA2BD,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE,kBAAkB,2CA0EzD"}