@factory/droid-sdk 0.9.1 → 0.10.0

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.
package/dist/index.mjs CHANGED
@@ -66,6 +66,7 @@ import {
66
66
  ConnectionClosedError,
67
67
  ConnectionFailureReason,
68
68
  ContentBlockSchema,
69
+ ContextApiError,
69
70
  ContextBreakdownCategorySchema,
70
71
  ContextStatsAccuracy,
71
72
  ContextStatsSchema,
@@ -101,6 +102,7 @@ import {
101
102
  ErrorDetailSchema,
102
103
  ErrorNotificationSchema,
103
104
  ExecToolInfoSchema,
105
+ ExecToolInfoWithSchemasSchema,
104
106
  ExecuteRewindRequestParamsSchema,
105
107
  ExecuteRewindRequestSchema,
106
108
  ExecuteRewindResponseSchema,
@@ -190,7 +192,9 @@ import {
190
192
  ListToolsRequestParamsSchema,
191
193
  ListToolsRequestSchema,
192
194
  ListToolsResponseSchema,
195
+ ListToolsResponseWithSchemasSchema,
193
196
  ListToolsResultSchema,
197
+ ListToolsResultWithSchemasSchema,
194
198
  LoadSessionRequestParamsSchema,
195
199
  LoadSessionRequestSchema,
196
200
  LoadSessionResponseSchema,
@@ -245,6 +249,11 @@ import {
245
249
  OutputFormatSchema,
246
250
  OutputFormatType,
247
251
  PermissionResolvedNotificationSchema,
252
+ PickOptionsRequestParamsSchema,
253
+ PickOptionsRequestSchema,
254
+ PickOptionsResponseSchema,
255
+ PickOptionsResultSchema,
256
+ PickOptionsRowSchema,
248
257
  ProgressLogEntrySchema,
249
258
  ProgressLogEntryType,
250
259
  ProposeMissionConfirmationDetailsSchema,
@@ -277,6 +286,12 @@ import {
277
286
  SESSION_INIT_TIMEOUT,
278
287
  SLACK_DELEGATION_MAX_RETRIES,
279
288
  ServerRequestHandlerType,
289
+ SessionArtifactAction,
290
+ SessionArtifactKind,
291
+ SessionArtifactProvider,
292
+ SessionArtifactSchema,
293
+ SessionArtifactSource,
294
+ SessionArtifactsSchema,
280
295
  SessionMetadataSchema,
281
296
  SessionNotificationParamsSchema,
282
297
  SessionNotificationPayloadSchema,
@@ -345,11 +360,15 @@ import {
345
360
  ToolConfirmationListItemSchema,
346
361
  ToolConfirmationOutcome,
347
362
  ToolConfirmationType,
363
+ ToolJsonSchemaSchema,
348
364
  ToolProgressUpdateNotificationSchema,
349
365
  ToolProgressUpdateSchema,
350
366
  ToolResultNotificationSchema,
351
367
  ToolResultSchema,
368
+ ToolResultSchemaDescriptorSchema,
369
+ ToolSchemasSchema,
352
370
  ToolSelectionOverridesSchema,
371
+ ToolSourceSchema,
353
372
  ToolUseSchema,
354
373
  ToolUseSchema2,
355
374
  TraceContextMetaSchema,
@@ -368,6 +387,7 @@ import {
368
387
  WorkerSelectedFeatureEntrySchema,
369
388
  WorkerStartedEntrySchema,
370
389
  WorkerStateInfoSchema,
390
+ appendContextSession,
371
391
  buildUserMessageContentBlocks,
372
392
  configureDaemonCoreDeps,
373
393
  connectAndAuthenticate,
@@ -375,14 +395,23 @@ import {
375
395
  connectWithRetry,
376
396
  convertNotificationToStreamMessage,
377
397
  createComputer,
398
+ createContextDocument,
399
+ createContextFile,
400
+ createContextSpace,
378
401
  createResponseSchema,
379
402
  createWebSocketDaemonClient,
380
403
  defaultDaemonCoreDeps,
381
404
  deleteComputer,
405
+ deleteContextDocument,
406
+ deleteContextFile,
382
407
  filterMessagesForUI,
383
408
  getComputer,
384
409
  getComputerByName,
385
410
  getComputerMetrics,
411
+ getContextDocument,
412
+ getContextDocumentByPath,
413
+ getContextSession,
414
+ getContextSpace,
386
415
  getMachineTemplate,
387
416
  getPermissionToolInputForDisplay,
388
417
  getQueuedUserMessageDisplayGroup,
@@ -398,21 +427,27 @@ import {
398
427
  isPersistedHookMessage,
399
428
  isReviewableQueuedMessageKind,
400
429
  listComputers,
430
+ listContextDocuments,
431
+ listContextSessions,
432
+ listContextSpaces,
401
433
  listMachineTemplates,
402
434
  listRemoteSessions,
403
435
  machineTypeToMachineConnectionType,
404
- orderMessagesByParentChain,
436
+ readContextFilePart,
437
+ readContextSessionRecords,
405
438
  recordComputerConnectSli,
406
439
  refreshComputer,
407
- repairParentChainCorruption,
440
+ registerContextSession,
408
441
  restartComputer,
409
442
  retryInstallDeps,
410
443
  retryWithLogger,
411
444
  sumTokenUsage,
412
445
  summarizeSessionToolUsage,
413
446
  toError,
414
- updateComputer
415
- } from "./chunk-TWSTJMV7.mjs";
447
+ updateComputer,
448
+ updateContextDocument,
449
+ uploadContextFilePart
450
+ } from "./chunk-TWAVPIPS.mjs";
416
451
  export {
417
452
  AbortError,
418
453
  AddMcpServerRequestParamsSchema,
@@ -481,6 +516,7 @@ export {
481
516
  ConnectionClosedError,
482
517
  ConnectionFailureReason,
483
518
  ContentBlockSchema,
519
+ ContextApiError,
484
520
  ContextBreakdownCategorySchema,
485
521
  GetContextBreakdownResultSchema as ContextBreakdownResultSchema,
486
522
  ContextStatsAccuracy,
@@ -518,6 +554,7 @@ export {
518
554
  ErrorDetailSchema,
519
555
  ErrorNotificationSchema,
520
556
  ExecToolInfoSchema,
557
+ ExecToolInfoWithSchemasSchema,
521
558
  ExecuteRewindRequestParamsSchema,
522
559
  ExecuteRewindRequestSchema,
523
560
  ExecuteRewindResponseSchema,
@@ -607,7 +644,9 @@ export {
607
644
  ListToolsRequestParamsSchema,
608
645
  ListToolsRequestSchema,
609
646
  ListToolsResponseSchema,
647
+ ListToolsResponseWithSchemasSchema,
610
648
  ListToolsResultSchema,
649
+ ListToolsResultWithSchemasSchema,
611
650
  LoadSessionRequestParamsSchema,
612
651
  LoadSessionRequestSchema,
613
652
  LoadSessionResponseSchema,
@@ -661,6 +700,11 @@ export {
661
700
  OutputFormatSchema,
662
701
  OutputFormatType,
663
702
  PermissionResolvedNotificationSchema,
703
+ PickOptionsRequestParamsSchema,
704
+ PickOptionsRequestSchema,
705
+ PickOptionsResponseSchema,
706
+ PickOptionsResultSchema,
707
+ PickOptionsRowSchema,
664
708
  ProgressLogEntrySchema,
665
709
  ProgressLogEntryType,
666
710
  ProposeMissionConfirmationDetailsSchema,
@@ -693,6 +737,12 @@ export {
693
737
  SESSION_INIT_TIMEOUT,
694
738
  SLACK_DELEGATION_MAX_RETRIES,
695
739
  ServerRequestHandlerType,
740
+ SessionArtifactAction,
741
+ SessionArtifactKind,
742
+ SessionArtifactProvider,
743
+ SessionArtifactSchema,
744
+ SessionArtifactSource,
745
+ SessionArtifactsSchema,
696
746
  SessionMetadataSchema,
697
747
  SessionNotificationParamsSchema,
698
748
  SessionNotificationPayloadSchema,
@@ -761,11 +811,15 @@ export {
761
811
  ToolConfirmationListItemSchema,
762
812
  ToolConfirmationOutcome,
763
813
  ToolConfirmationType,
814
+ ToolJsonSchemaSchema,
764
815
  ToolProgressUpdateNotificationSchema,
765
816
  ToolProgressUpdateSchema,
766
817
  ToolResultSchema as ToolResultBlockSchema,
767
818
  ToolResultNotificationSchema,
819
+ ToolResultSchemaDescriptorSchema,
820
+ ToolSchemasSchema,
768
821
  ToolSelectionOverridesSchema,
822
+ ToolSourceSchema,
769
823
  ToolUseSchema as ToolUseBlockSchema,
770
824
  ToolUseSchema2 as ToolUseSchema,
771
825
  TraceContextMetaSchema,
@@ -784,6 +838,7 @@ export {
784
838
  WorkerSelectedFeatureEntrySchema,
785
839
  WorkerStartedEntrySchema,
786
840
  WorkerStateInfoSchema,
841
+ appendContextSession,
787
842
  buildUserMessageContentBlocks,
788
843
  configureDaemonCoreDeps,
789
844
  connectAndAuthenticate,
@@ -791,14 +846,23 @@ export {
791
846
  connectWithRetry,
792
847
  convertNotificationToStreamMessage,
793
848
  createComputer,
849
+ createContextDocument,
850
+ createContextFile,
851
+ createContextSpace,
794
852
  createResponseSchema,
795
853
  createWebSocketDaemonClient,
796
854
  defaultDaemonCoreDeps,
797
855
  deleteComputer,
856
+ deleteContextDocument,
857
+ deleteContextFile,
798
858
  filterMessagesForUI,
799
859
  getComputer,
800
860
  getComputerByName,
801
861
  getComputerMetrics,
862
+ getContextDocument,
863
+ getContextDocumentByPath,
864
+ getContextSession,
865
+ getContextSpace,
802
866
  getMachineTemplate,
803
867
  getPermissionToolInputForDisplay,
804
868
  getQueuedUserMessageDisplayGroup,
@@ -814,19 +878,25 @@ export {
814
878
  isPersistedHookMessage,
815
879
  isReviewableQueuedMessageKind,
816
880
  listComputers,
881
+ listContextDocuments,
882
+ listContextSessions,
883
+ listContextSpaces,
817
884
  listMachineTemplates,
818
885
  listRemoteSessions,
819
886
  machineTypeToMachineConnectionType,
820
- orderMessagesByParentChain,
887
+ readContextFilePart,
888
+ readContextSessionRecords,
821
889
  recordComputerConnectSli,
822
890
  refreshComputer,
823
- repairParentChainCorruption,
891
+ registerContextSession,
824
892
  restartComputer,
825
893
  retryInstallDeps,
826
894
  retryWithLogger,
827
895
  sumTokenUsage,
828
896
  summarizeSessionToolUsage,
829
897
  toError,
830
- updateComputer
898
+ updateComputer,
899
+ updateContextDocument,
900
+ uploadContextFilePart
831
901
  };
832
902
  //# sourceMappingURL=index.mjs.map