@octonodes/sdk 0.2.38 → 0.2.40

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.
@@ -331,7 +331,7 @@ export type GetApiAppsRuntimeSessionResponses = {
331
331
  };
332
332
  version: string;
333
333
  grants: Array<{
334
- action: 'projects:read' | 'data:read' | 'data:write' | 'workflows:run';
334
+ action: 'projects:read' | 'data:read' | 'data:write' | 'workflows:run' | 'read:project' | 'write:project';
335
335
  projectId: string;
336
336
  }>;
337
337
  expiresAt: number;
@@ -414,7 +414,7 @@ export type GetApiMarketplaceAppsResponses = {
414
414
  supportUrl?: string;
415
415
  redirectUrls: Array<string>;
416
416
  webhookUrl?: string;
417
- requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run'>;
417
+ requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run' | 'read:project' | 'write:project'>;
418
418
  extensions?: Array<{
419
419
  id: string;
420
420
  target: 'app.page' | 'workspace.block';
@@ -433,7 +433,7 @@ export type GetApiMarketplaceAppsResponses = {
433
433
  }>;
434
434
  privacyUrl?: string;
435
435
  supportUrl?: string;
436
- requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run'>;
436
+ requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run' | 'read:project' | 'write:project'>;
437
437
  extensions: Array<{
438
438
  id: string;
439
439
  target: 'app.page' | 'workspace.block';
@@ -452,7 +452,7 @@ export type GetApiMarketplaceAppsResponses = {
452
452
  }>;
453
453
  privacyUrl?: string;
454
454
  supportUrl?: string;
455
- requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run'>;
455
+ requestedActions?: Array<'projects:read' | 'data:read' | 'data:write' | 'workflows:run' | 'read:project' | 'write:project'>;
456
456
  extensions: Array<{
457
457
  id: string;
458
458
  target: 'app.page' | 'workspace.block' | 'shell.panel' | 'shell.dock' | 'project.tab' | 'project.overview.block' | 'workflow.tab' | 'workflow.inspector.block' | 'node.view' | 'node.inspector.tab' | 'node.inspector.block' | 'task.space.view' | 'task.details.tab' | 'task.details.block' | 'task.card.badge' | 'document.tab' | 'document.panel' | 'editor.panel' | 'git.diff.panel' | 'table.view' | 'execution.details.block' | 'app.settings.section' | 'project.settings.section' | 'project.action' | 'file.action' | 'editor.action' | 'editor.selection-action' | 'workflow.action' | 'workflow.canvas.action' | 'workflow.selection-action' | 'workflow.edge.action' | 'node.action' | 'task.space.action' | 'task.action' | 'document.action' | 'document.selection-action' | 'document.block.action' | 'document.slash-command' | 'document.review.action' | 'git.diff.action' | 'table.action' | 'execution.action';
@@ -499,17 +499,11 @@ export type GetApiCapabilitiesResponses = {
499
499
  * Success
500
500
  */
501
501
  200: {
502
- version: 1;
502
+ version: 2;
503
503
  mode: 'trusted-local' | 'configured-local-cloud' | 'hosted';
504
504
  items: Array<{
505
- name: 'workspace_identity' | 'workspace_social' | 'task_management' | 'workspace_admin' | 'workflow_execution' | 'billing' | 'design_review' | 'design_preview' | 'architecture' | 'repository_registry' | 'repository_discovery' | 'repository_git_read' | 'repository_git_write' | 'design_architecture_embed' | 'workspace_registry_backup_restore' | 'github' | 'slack' | 'google' | 'meta' | 'qwen' | 'workflow_agents' | 'cloud_terminal' | 'mcp_catalog' | 'monitoring' | 'agent_monitoring' | 'backup_restore' | 'write_authority' | 'community_read' | 'community_authoring' | 'community_publishing' | 'workflow_templates';
506
- available: true;
507
- mode: 'trusted-local' | 'configured-local-cloud' | 'hosted';
508
- } | {
509
- name: 'workspace_identity' | 'workspace_social' | 'task_management' | 'workspace_admin' | 'workflow_execution' | 'billing' | 'design_review' | 'design_preview' | 'architecture' | 'repository_registry' | 'repository_discovery' | 'repository_git_read' | 'repository_git_write' | 'design_architecture_embed' | 'workspace_registry_backup_restore' | 'github' | 'slack' | 'google' | 'meta' | 'qwen' | 'workflow_agents' | 'cloud_terminal' | 'mcp_catalog' | 'monitoring' | 'agent_monitoring' | 'backup_restore' | 'write_authority' | 'community_read' | 'community_authoring' | 'community_publishing' | 'workflow_templates';
510
- available: false;
511
- mode: 'trusted-local' | 'configured-local-cloud' | 'hosted';
512
- reason: 'not_implemented' | 'requires_cloud_configuration' | 'requires_hosted_runtime' | 'provider_not_configured' | 'disabled_by_policy' | 'missing_entitlement' | 'missing_permission';
505
+ name: 'repository_registry' | 'design_architecture_embed' | 'workflow_agents' | 'community_authoring' | 'community_publishing' | 'workflow_templates';
506
+ available: boolean;
513
507
  }>;
514
508
  };
515
509
  };
@@ -940,6 +934,8 @@ export type GetApiSocialConversationsResponses = {
940
934
  lastMessageSeq: number | null;
941
935
  lastMessageAt: number | null;
942
936
  unreadCount: number;
937
+ projectIds?: Array<string>;
938
+ sessionScope?: 'workspace' | 'project' | 'workflow';
943
939
  }>;
944
940
  nextCursor: string | null;
945
941
  };
@@ -1060,6 +1056,9 @@ export type GetApiSocialConversationsByIdMessagesResponses = {
1060
1056
  export type GetApiSocialConversationsByIdMessagesResponse = GetApiSocialConversationsByIdMessagesResponses[keyof GetApiSocialConversationsByIdMessagesResponses];
1061
1057
  export type GetApiSocialNotificationsData = {
1062
1058
  body?: never;
1059
+ headers?: {
1060
+ 'if-none-match'?: string;
1061
+ };
1063
1062
  path?: never;
1064
1063
  query: {
1065
1064
  workspace: string;
@@ -1752,86 +1751,11 @@ export type GetApiProjectsTrashResponses = {
1752
1751
  }>;
1753
1752
  };
1754
1753
  export type GetApiProjectsTrashResponse = GetApiProjectsTrashResponses[keyof GetApiProjectsTrashResponses];
1755
- export type GetApiProjectsCatalogData = {
1756
- body?: never;
1757
- path?: never;
1758
- query?: never;
1759
- url: '/api/projects/catalog';
1760
- };
1761
- export type GetApiProjectsCatalogErrors = {
1762
- /**
1763
- * Error
1764
- */
1765
- 403: {
1766
- error: string;
1767
- };
1768
- };
1769
- export type GetApiProjectsCatalogError = GetApiProjectsCatalogErrors[keyof GetApiProjectsCatalogErrors];
1770
- export type GetApiProjectsCatalogResponses = {
1771
- /**
1772
- * Success
1773
- */
1774
- 200: {
1775
- projects: Array<{
1776
- id: string;
1777
- name: string;
1778
- path?: string;
1779
- workflowCount: number;
1780
- environments?: Array<string>;
1781
- readOnly?: true;
1782
- legacyLanguage?: string;
1783
- local?: false;
1784
- cloudAction?: 'install' | 'sync';
1785
- hosted?: true;
1786
- unavailable?: true;
1787
- sourceKind?: 'repository' | 'managed' | 'standalone';
1788
- sourceRepositoryId?: string | null;
1789
- configLocator?: string;
1790
- }>;
1791
- repositories: Array<{
1792
- generation: number;
1793
- sourceRepository: {
1794
- sourceRepositoryId: string;
1795
- displayName: string;
1796
- rootLocator: string;
1797
- canonicalRootFingerprint: string;
1798
- remote: {
1799
- fetchUrl: string;
1800
- provider?: 'github';
1801
- githubRepositoryId?: number;
1802
- } | null;
1803
- recovery: {
1804
- kind: 'reclone';
1805
- head: string;
1806
- branch?: string;
1807
- } | {
1808
- kind: 'relink';
1809
- };
1810
- status: 'ready' | 'missing' | 'conflict';
1811
- revision: number;
1812
- };
1813
- projects: Array<{
1814
- projectId: string;
1815
- sourceKind: 'repository' | 'managed' | 'standalone';
1816
- sourceRepositoryId: string | null;
1817
- configLocator: string;
1818
- projectRootLocator: string;
1819
- configFormat: 'yaml' | 'json';
1820
- configFingerprint: string;
1821
- storeKey: string;
1822
- identitySource: 'new' | 'legacy' | 'config';
1823
- status: 'ready' | 'missing' | 'conflict' | 'invalid';
1824
- revision: number;
1825
- }>;
1826
- }>;
1827
- hiddenIds: Array<string>;
1828
- };
1829
- };
1830
- export type GetApiProjectsCatalogResponse = GetApiProjectsCatalogResponses[keyof GetApiProjectsCatalogResponses];
1831
1754
  export type GetApiProjectsSearchData = {
1832
1755
  body?: never;
1833
1756
  path?: never;
1834
1757
  query?: {
1758
+ project?: string;
1835
1759
  summary?: 'true';
1836
1760
  workspace?: string;
1837
1761
  q?: string;
@@ -1956,6 +1880,49 @@ export type GetApiProjectsByProjectIdFilesResponses = {
1956
1880
  }>;
1957
1881
  };
1958
1882
  export type GetApiProjectsByProjectIdFilesResponse = GetApiProjectsByProjectIdFilesResponses[keyof GetApiProjectsByProjectIdFilesResponses];
1883
+ export type GetApiProjectsByProjectIdInstructionsData = {
1884
+ body?: never;
1885
+ path: {
1886
+ projectId: string;
1887
+ };
1888
+ query?: never;
1889
+ url: '/api/projects/{projectId}/instructions';
1890
+ };
1891
+ export type GetApiProjectsByProjectIdInstructionsErrors = {
1892
+ /**
1893
+ * Error
1894
+ */
1895
+ 400: {
1896
+ error: string;
1897
+ };
1898
+ /**
1899
+ * Error
1900
+ */
1901
+ 403: {
1902
+ error: string;
1903
+ };
1904
+ /**
1905
+ * Error
1906
+ */
1907
+ 404: {
1908
+ error: string;
1909
+ };
1910
+ };
1911
+ export type GetApiProjectsByProjectIdInstructionsError = GetApiProjectsByProjectIdInstructionsErrors[keyof GetApiProjectsByProjectIdInstructionsErrors];
1912
+ export type GetApiProjectsByProjectIdInstructionsResponses = {
1913
+ /**
1914
+ * Success
1915
+ */
1916
+ 200: {
1917
+ files: Array<{
1918
+ path: string;
1919
+ content: string;
1920
+ revision: string;
1921
+ }>;
1922
+ skipped: Array<string>;
1923
+ };
1924
+ };
1925
+ export type GetApiProjectsByProjectIdInstructionsResponse = GetApiProjectsByProjectIdInstructionsResponses[keyof GetApiProjectsByProjectIdInstructionsResponses];
1959
1926
  export type DeleteApiProjectsByProjectIdFilesContentData = {
1960
1927
  body: {
1961
1928
  path: string;
@@ -2269,6 +2236,12 @@ export type GetApiProjectsByProjectIdPackageExportsResponses = {
2269
2236
  */
2270
2237
  200: {
2271
2238
  packages: Array<string>;
2239
+ dependencies?: Array<{
2240
+ name: string;
2241
+ spec: string;
2242
+ version: string | null;
2243
+ pluginId: string | null;
2244
+ }>;
2272
2245
  exports: Array<{
2273
2246
  name: string;
2274
2247
  kind: 'function' | 'constant' | 'type' | 'class' | 'value';
@@ -4882,12 +4855,26 @@ export type GetApiMarketplaceResponses = {
4882
4855
  tags: Array<string>;
4883
4856
  nodes?: Array<{
4884
4857
  id: string;
4858
+ sourceLanguage?: string;
4859
+ execution?: {
4860
+ runtimeRef: string;
4861
+ entrypoint: {
4862
+ kind: 'file';
4863
+ path: string;
4864
+ };
4865
+ args?: Array<string>;
4866
+ invokeAs?: string;
4867
+ };
4885
4868
  source?: {
4886
4869
  kind: 'plugin';
4887
4870
  } | {
4888
4871
  kind: 'npm';
4889
4872
  package: string;
4890
4873
  version: string;
4874
+ } | {
4875
+ kind: 'pypi';
4876
+ package: string;
4877
+ version: string;
4891
4878
  };
4892
4879
  libraryExport?: string;
4893
4880
  implementation?: {
@@ -4989,12 +4976,26 @@ export type GetApiMarketplacePluginsByIdResponses = {
4989
4976
  tags: Array<string>;
4990
4977
  nodes: Array<{
4991
4978
  id: string;
4979
+ sourceLanguage?: string;
4980
+ execution?: {
4981
+ runtimeRef: string;
4982
+ entrypoint: {
4983
+ kind: 'file';
4984
+ path: string;
4985
+ };
4986
+ args?: Array<string>;
4987
+ invokeAs?: string;
4988
+ };
4992
4989
  source?: {
4993
4990
  kind: 'plugin';
4994
4991
  } | {
4995
4992
  kind: 'npm';
4996
4993
  package: string;
4997
4994
  version: string;
4995
+ } | {
4996
+ kind: 'pypi';
4997
+ package: string;
4998
+ version: string;
4998
4999
  };
4999
5000
  libraryExport?: string;
5000
5001
  implementation?: {
@@ -5127,12 +5128,26 @@ export type GetApiPluginsResponses = {
5127
5128
  tags: Array<string>;
5128
5129
  nodes?: Array<{
5129
5130
  id: string;
5131
+ sourceLanguage?: string;
5132
+ execution?: {
5133
+ runtimeRef: string;
5134
+ entrypoint: {
5135
+ kind: 'file';
5136
+ path: string;
5137
+ };
5138
+ args?: Array<string>;
5139
+ invokeAs?: string;
5140
+ };
5130
5141
  source?: {
5131
5142
  kind: 'plugin';
5132
5143
  } | {
5133
5144
  kind: 'npm';
5134
5145
  package: string;
5135
5146
  version: string;
5147
+ } | {
5148
+ kind: 'pypi';
5149
+ package: string;
5150
+ version: string;
5136
5151
  };
5137
5152
  libraryExport?: string;
5138
5153
  implementation?: {
@@ -5213,12 +5228,26 @@ export type GetApiPluginsSearchResponses = {
5213
5228
  tags: Array<string>;
5214
5229
  nodes?: Array<{
5215
5230
  id: string;
5231
+ sourceLanguage?: string;
5232
+ execution?: {
5233
+ runtimeRef: string;
5234
+ entrypoint: {
5235
+ kind: 'file';
5236
+ path: string;
5237
+ };
5238
+ args?: Array<string>;
5239
+ invokeAs?: string;
5240
+ };
5216
5241
  source?: {
5217
5242
  kind: 'plugin';
5218
5243
  } | {
5219
5244
  kind: 'npm';
5220
5245
  package: string;
5221
5246
  version: string;
5247
+ } | {
5248
+ kind: 'pypi';
5249
+ package: string;
5250
+ version: string;
5222
5251
  };
5223
5252
  libraryExport?: string;
5224
5253
  implementation?: {
@@ -5286,12 +5315,26 @@ export type GetApiPluginsNodesResponses = {
5286
5315
  200: {
5287
5316
  items: Array<{
5288
5317
  id: string;
5318
+ sourceLanguage?: string;
5319
+ execution?: {
5320
+ runtimeRef: string;
5321
+ entrypoint: {
5322
+ kind: 'file';
5323
+ path: string;
5324
+ };
5325
+ args?: Array<string>;
5326
+ invokeAs?: string;
5327
+ };
5289
5328
  source?: {
5290
5329
  kind: 'plugin';
5291
5330
  } | {
5292
5331
  kind: 'npm';
5293
5332
  package: string;
5294
5333
  version: string;
5334
+ } | {
5335
+ kind: 'pypi';
5336
+ package: string;
5337
+ version: string;
5295
5338
  };
5296
5339
  libraryExport?: string;
5297
5340
  implementation?: {
@@ -5382,12 +5425,26 @@ export type GetApiPluginsByPluginIdResponses = {
5382
5425
  tags: Array<string>;
5383
5426
  nodes: Array<{
5384
5427
  id: string;
5428
+ sourceLanguage?: string;
5429
+ execution?: {
5430
+ runtimeRef: string;
5431
+ entrypoint: {
5432
+ kind: 'file';
5433
+ path: string;
5434
+ };
5435
+ args?: Array<string>;
5436
+ invokeAs?: string;
5437
+ };
5385
5438
  source?: {
5386
5439
  kind: 'plugin';
5387
5440
  } | {
5388
5441
  kind: 'npm';
5389
5442
  package: string;
5390
5443
  version: string;
5444
+ } | {
5445
+ kind: 'pypi';
5446
+ package: string;
5447
+ version: string;
5391
5448
  };
5392
5449
  libraryExport?: string;
5393
5450
  implementation?: {
@@ -5829,6 +5886,9 @@ export type PostApiNativeNodesByCatalogIdMaterializeResponses = {
5829
5886
  signature: {
5830
5887
  language: string;
5831
5888
  command: string;
5889
+ args?: Array<string>;
5890
+ invokeAs?: string;
5891
+ runtimeError?: string;
5832
5892
  sourceExpressions?: {
5833
5893
  [key: string]: string;
5834
5894
  };
@@ -5892,10 +5952,19 @@ export type PostApiNativeNodesByCatalogIdMaterializeResponse = PostApiNativeNode
5892
5952
  export type GetApiWorkspacesData = {
5893
5953
  body?: never;
5894
5954
  path?: never;
5895
- query?: never;
5955
+ query?: {
5956
+ projection?: 'compact';
5957
+ workspace?: string;
5958
+ };
5896
5959
  url: '/api/workspaces';
5897
5960
  };
5898
5961
  export type GetApiWorkspacesErrors = {
5962
+ /**
5963
+ * Error
5964
+ */
5965
+ 400: {
5966
+ error: string;
5967
+ };
5899
5968
  /**
5900
5969
  * Error
5901
5970
  */
@@ -5920,21 +5989,57 @@ export type GetApiWorkspacesResponses = {
5920
5989
  id: string;
5921
5990
  name: string;
5922
5991
  role: string;
5923
- permissions: {
5924
- [key: string]: boolean;
5992
+ menuControls?: {
5993
+ createTeam: boolean;
5994
+ invite: boolean;
5995
+ editPermissions: boolean;
5925
5996
  };
5997
+ publishPlugin?: boolean;
5926
5998
  teams: Array<{
5927
5999
  kind: 'team';
5928
6000
  id: string;
5929
6001
  name: string;
5930
6002
  role: string;
5931
- permissions: {
5932
- [key: string]: boolean;
5933
- };
6003
+ publishPlugin?: boolean;
5934
6004
  }>;
5935
6005
  }>;
5936
6006
  remote: boolean;
5937
6007
  remoteComputers?: boolean;
6008
+ access?: {
6009
+ version: 2;
6010
+ workspace: {
6011
+ kind: 'user' | 'org' | 'team';
6012
+ id: string;
6013
+ };
6014
+ uiBindings: {
6015
+ [key: string]: boolean;
6016
+ };
6017
+ controls: {
6018
+ readProjects?: boolean;
6019
+ editProjects?: boolean;
6020
+ readWorkflows?: boolean;
6021
+ readPlugins?: boolean;
6022
+ runWorkflow?: boolean;
6023
+ readData?: boolean;
6024
+ editData?: boolean;
6025
+ readTasks?: boolean;
6026
+ runAssistant?: boolean;
6027
+ configureAssistant?: boolean;
6028
+ readChat?: boolean;
6029
+ moderateChat?: boolean;
6030
+ readDesignDocs?: boolean;
6031
+ publishPlugin?: boolean;
6032
+ installPlugin?: boolean;
6033
+ readApps?: boolean;
6034
+ useApps?: boolean;
6035
+ manageApps?: boolean;
6036
+ cleanupApps?: boolean;
6037
+ openAdmin?: boolean;
6038
+ readBilling?: boolean;
6039
+ searchWorkspace?: boolean;
6040
+ manageProjectKeys?: boolean;
6041
+ };
6042
+ } | null;
5938
6043
  };
5939
6044
  };
5940
6045
  export type GetApiWorkspacesResponse = GetApiWorkspacesResponses[keyof GetApiWorkspacesResponses];