@octonodes/sdk 0.0.3 → 0.1.5

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 (129) hide show
  1. package/PLUGINS.md +265 -0
  2. package/README.md +107 -9
  3. package/dist/constants.d.ts +1 -0
  4. package/dist/constants.d.ts.map +1 -1
  5. package/dist/constants.js +2 -1
  6. package/dist/constants.js.map +1 -1
  7. package/dist/gen/index.d.ts +2 -2
  8. package/dist/gen/index.d.ts.map +1 -1
  9. package/dist/gen/index.js +4 -3
  10. package/dist/gen/index.js.map +1 -1
  11. package/dist/gen/sdk.gen.d.ts +9 -1
  12. package/dist/gen/sdk.gen.d.ts.map +1 -1
  13. package/dist/gen/sdk.gen.js +21 -3
  14. package/dist/gen/sdk.gen.js.map +1 -1
  15. package/dist/gen/types.gen.d.ts +379 -1
  16. package/dist/gen/types.gen.d.ts.map +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +2 -1
  20. package/dist/index.js.map +1 -1
  21. package/dist/plugins/index.d.ts +2 -0
  22. package/dist/plugins/index.d.ts.map +1 -0
  23. package/dist/plugins/index.js +19 -0
  24. package/dist/plugins/index.js.map +1 -0
  25. package/dist/plugins/schema/constants.d.ts +33 -0
  26. package/dist/plugins/schema/constants.d.ts.map +1 -0
  27. package/dist/plugins/schema/constants.js +207 -0
  28. package/dist/plugins/schema/constants.js.map +1 -0
  29. package/dist/plugins/schema/icons.d.ts +5 -0
  30. package/dist/plugins/schema/icons.d.ts.map +1 -0
  31. package/dist/plugins/schema/icons.js +62 -0
  32. package/dist/plugins/schema/icons.js.map +1 -0
  33. package/dist/plugins/schema/ipc-envelope.d.ts +923 -0
  34. package/dist/plugins/schema/ipc-envelope.d.ts.map +1 -0
  35. package/dist/plugins/schema/ipc-envelope.js +210 -0
  36. package/dist/plugins/schema/ipc-envelope.js.map +1 -0
  37. package/dist/plugins/schema/plugin-sdk/index.d.ts +5 -0
  38. package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -0
  39. package/dist/plugins/schema/plugin-sdk/index.js +25 -0
  40. package/dist/plugins/schema/plugin-sdk/index.js.map +1 -0
  41. package/dist/plugins/schema/plugin.d.ts +808 -0
  42. package/dist/plugins/schema/plugin.d.ts.map +1 -0
  43. package/dist/plugins/schema/plugin.js +196 -0
  44. package/dist/plugins/schema/plugin.js.map +1 -0
  45. package/dist/plugins/sdk/define-node.d.ts +103 -0
  46. package/dist/plugins/sdk/define-node.d.ts.map +1 -0
  47. package/dist/plugins/sdk/define-node.js +58 -0
  48. package/dist/plugins/sdk/define-node.js.map +1 -0
  49. package/dist/plugins/sdk/definitions/compiler/catalog.d.ts +3 -0
  50. package/dist/plugins/sdk/definitions/compiler/catalog.d.ts.map +1 -0
  51. package/dist/plugins/sdk/definitions/compiler/catalog.js +133 -0
  52. package/dist/plugins/sdk/definitions/compiler/catalog.js.map +1 -0
  53. package/dist/plugins/sdk/definitions/compiler/constants.d.ts +6 -0
  54. package/dist/plugins/sdk/definitions/compiler/constants.d.ts.map +1 -0
  55. package/dist/plugins/sdk/definitions/compiler/constants.js +10 -0
  56. package/dist/plugins/sdk/definitions/compiler/constants.js.map +1 -0
  57. package/dist/plugins/sdk/definitions/compiler/index.d.ts +7 -0
  58. package/dist/plugins/sdk/definitions/compiler/index.d.ts.map +1 -0
  59. package/dist/plugins/sdk/definitions/compiler/index.js +411 -0
  60. package/dist/plugins/sdk/definitions/compiler/index.js.map +1 -0
  61. package/dist/plugins/sdk/definitions/compiler/literals.d.ts +5 -0
  62. package/dist/plugins/sdk/definitions/compiler/literals.d.ts.map +1 -0
  63. package/dist/plugins/sdk/definitions/compiler/literals.js +78 -0
  64. package/dist/plugins/sdk/definitions/compiler/literals.js.map +1 -0
  65. package/dist/plugins/sdk/definitions/compiler/schemas.d.ts +4 -0
  66. package/dist/plugins/sdk/definitions/compiler/schemas.d.ts.map +1 -0
  67. package/dist/plugins/sdk/definitions/compiler/schemas.js +95 -0
  68. package/dist/plugins/sdk/definitions/compiler/schemas.js.map +1 -0
  69. package/dist/plugins/sdk/definitions/compiler/types.d.ts +20 -0
  70. package/dist/plugins/sdk/definitions/compiler/types.d.ts.map +1 -0
  71. package/dist/plugins/sdk/definitions/compiler/types.js +3 -0
  72. package/dist/plugins/sdk/definitions/compiler/types.js.map +1 -0
  73. package/dist/plugins/sdk/definitions/index.d.ts +7 -0
  74. package/dist/plugins/sdk/definitions/index.d.ts.map +1 -0
  75. package/dist/plugins/sdk/definitions/index.js +16 -0
  76. package/dist/plugins/sdk/definitions/index.js.map +1 -0
  77. package/dist/plugins/sdk/definitions/npm/emit/js.d.ts +4 -0
  78. package/dist/plugins/sdk/definitions/npm/emit/js.d.ts.map +1 -0
  79. package/dist/plugins/sdk/definitions/npm/emit/js.js +190 -0
  80. package/dist/plugins/sdk/definitions/npm/emit/js.js.map +1 -0
  81. package/dist/plugins/sdk/definitions/npm/types.d.ts +63 -0
  82. package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -0
  83. package/dist/plugins/sdk/definitions/npm/types.js +3 -0
  84. package/dist/plugins/sdk/definitions/npm/types.js.map +1 -0
  85. package/dist/plugins/sdk/definitions/types.d.ts +43 -0
  86. package/dist/plugins/sdk/definitions/types.d.ts.map +1 -0
  87. package/dist/plugins/sdk/definitions/types.js +3 -0
  88. package/dist/plugins/sdk/definitions/types.js.map +1 -0
  89. package/dist/plugins/sdk/json-schema.d.ts +17 -0
  90. package/dist/plugins/sdk/json-schema.d.ts.map +1 -0
  91. package/dist/plugins/sdk/json-schema.js +79 -0
  92. package/dist/plugins/sdk/json-schema.js.map +1 -0
  93. package/dist/plugins/sdk/nodes/index.d.ts +5 -0
  94. package/dist/plugins/sdk/nodes/index.d.ts.map +1 -0
  95. package/dist/plugins/sdk/nodes/index.js +12 -0
  96. package/dist/plugins/sdk/nodes/index.js.map +1 -0
  97. package/dist/plugins/sdk/plugin/index.d.ts +3 -0
  98. package/dist/plugins/sdk/plugin/index.d.ts.map +1 -0
  99. package/dist/plugins/sdk/plugin/index.js +8 -0
  100. package/dist/plugins/sdk/plugin/index.js.map +1 -0
  101. package/dist/plugins/sdk/plugin.d.ts +7 -0
  102. package/dist/plugins/sdk/plugin.d.ts.map +1 -0
  103. package/dist/plugins/sdk/plugin.js +74 -0
  104. package/dist/plugins/sdk/plugin.js.map +1 -0
  105. package/dist/plugins/sdk/plugin.types.d.ts +15 -0
  106. package/dist/plugins/sdk/plugin.types.d.ts.map +1 -0
  107. package/dist/plugins/sdk/plugin.types.js +3 -0
  108. package/dist/plugins/sdk/plugin.types.js.map +1 -0
  109. package/dist/plugins/sdk/plugins/define-node.d.ts +29 -0
  110. package/dist/plugins/sdk/plugins/define-node.d.ts.map +1 -0
  111. package/dist/plugins/sdk/plugins/define-node.js +16 -0
  112. package/dist/plugins/sdk/plugins/define-node.js.map +1 -0
  113. package/dist/plugins/sdk/plugins/index.d.ts +10 -0
  114. package/dist/plugins/sdk/plugins/index.d.ts.map +1 -0
  115. package/dist/plugins/sdk/plugins/index.js +23 -0
  116. package/dist/plugins/sdk/plugins/index.js.map +1 -0
  117. package/dist/plugins/sdk/plugins/types.d.ts +34 -0
  118. package/dist/plugins/sdk/plugins/types.d.ts.map +1 -0
  119. package/dist/plugins/sdk/plugins/types.js +3 -0
  120. package/dist/plugins/sdk/plugins/types.js.map +1 -0
  121. package/dist/plugins/sdk/project/index.d.ts +5 -0
  122. package/dist/plugins/sdk/project/index.d.ts.map +1 -0
  123. package/dist/plugins/sdk/project/index.js +10 -0
  124. package/dist/plugins/sdk/project/index.js.map +1 -0
  125. package/dist/plugins/sdk/runner.d.ts +36 -0
  126. package/dist/plugins/sdk/runner.d.ts.map +1 -0
  127. package/dist/plugins/sdk/runner.js +324 -0
  128. package/dist/plugins/sdk/runner.js.map +1 -0
  129. package/package.json +65 -5
@@ -0,0 +1,33 @@
1
+ export declare const PLUGIN_SCHEMA_VERSION: "1";
2
+ export declare const COMMUNITY_MEDIA_IMAGE_BYTES: number;
3
+ export declare const COMMUNITY_MEDIA_VIDEO_BYTES: number;
4
+ export declare const COMMUNITY_MEDIA_BODY_BYTES: number;
5
+ export declare const COMMUNITY_MEDIA_TYPES: readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "video/mp4", "video/webm"];
6
+ export declare const PLUGIN_MANIFEST_FILENAME = "octonode.plugin.json";
7
+ export declare const PLUGIN_DEFINITION_FILENAMES: readonly ["octonode.yml", "octonode.yaml", "octonode.json", "octonode.plugin.json"];
8
+ export declare const MARKETPLACE_SCOPES: readonly ["user", "group", "org", "public"];
9
+ export declare const SETTINGS_API_VERSION: "octonode.dev/settings/v1";
10
+ export declare const SETTINGS_SECTIONS: readonly ["appearance", "overrides", "layers", "views", "discovery"];
11
+ export declare const WORKSPACE_ACTIONS: readonly ["projects:read", "projects:write", "workflows:run", "data:read", "data:write", "tables:manage", "members:invite", "members:manage", "teams:manage", "plugins:publish", "plugins:install", "org:settings", "social:read", "social:write", "social:moderate", "tasks:read", "tasks:write", "tasks:manage", "reviews:write", "github:connect", "github:publish", "agents:manage", "billing:read", "billing:manage", "integrations:read", "integrations:manage", "design:read", "design:review", "previews:read", "previews:manage", "terminal:use", "workflow-agents:run", "workflow-agents:manage", "agent-operations:read", "agent-operations:manage", "data:export", "data:restore", "workspace:delete", "content:read", "content:write", "content:publish", "content:moderate"];
12
+ export type WorkspaceAction = (typeof WORKSPACE_ACTIONS)[number];
13
+ export declare const AGENT_RUN_STATUSES: readonly ["queued", "running", "approval_required", "completed", "cancelled", "failed"];
14
+ export declare const AGENT_ERROR_CODES: readonly ["provider_not_configured", "service_unavailable", "provider_rate_limited", "provider_unavailable", "timeout", "cancelled", "invalid_model_response", "invalid_tool_call", "tool_failed", "step_limit", "token_limit", "permission_denied", "approval_denied", "conflict", "internal_error"];
15
+ export declare const AGENT_TOOL_RISKS: readonly ["read", "write", "high"];
16
+ export declare const COLLABORATION_ACTIONS: readonly ["social:read", "social:write", "social:moderate", "tasks:read", "tasks:write", "tasks:manage", "reviews:write", "design:read", "design:review", "github:connect", "github:publish", "agents:manage", "data:export", "data:restore", "workspace:delete", "content:read", "content:write", "content:publish", "content:moderate"];
17
+ export declare const TASK_SPACE_TEMPLATES: readonly ["simple", "kanban", "scrum"];
18
+ export declare const TASK_STATUS_CATEGORIES: readonly ["todo", "in_progress", "done"];
19
+ export declare const WORK_ITEM_LEVELS: readonly ["initiative", "epic", "standard", "subtask"];
20
+ export declare const BUILTIN_WORK_ITEM_TYPES: readonly ["initiative", "epic", "story", "task", "bug", "subtask"];
21
+ export declare const WORK_ITEM_PRIORITIES: readonly ["highest", "high", "medium", "low", "lowest"];
22
+ export declare const TASK_FIELD_TYPES: readonly ["text", "number", "single_select", "multi_select", "date", "checkbox", "user", "url"];
23
+ export declare const TASK_VIEW_LAYOUTS: readonly ["board", "list", "calendar", "timeline"];
24
+ export declare const TASK_VIEW_GROUPS: readonly ["status", "assignee", "priority", "type", "tag", "sprint", "release", "custom_single_select", "none"];
25
+ export declare const TASK_VIEW_SORTS: readonly ["rank", "updated", "due", "priority"];
26
+ export declare const TASK_LINK_TYPES: readonly ["blocks", "duplicates", "relates"];
27
+ export declare const TASK_SPRINT_STATES: readonly ["future", "active", "completed"];
28
+ export declare const TASK_RELEASE_STATES: readonly ["unreleased", "released", "archived"];
29
+ export declare const SOURCE_CONTROL_REGION_KINDS: readonly ["if", "switch", "for", "while", "do-while", "for-in", "for-of", "break", "continue", "label", "try", "catch", "finally"];
30
+ export declare const PLATFORM_CAPABILITIES: readonly ["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"];
31
+ export declare const CAPABILITY_MODES: readonly ["trusted-local", "configured-local-cloud", "hosted"];
32
+ export declare const CAPABILITY_UNAVAILABLE_REASONS: readonly ["not_implemented", "requires_cloud_configuration", "requires_hosted_runtime", "provider_not_configured", "disabled_by_policy", "missing_entitlement", "missing_permission"];
33
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,qBAAqB,EAAG,GAAY,CAAC;AAClD,eAAO,MAAM,2BAA2B,QAAkB,CAAC;AAC3D,eAAO,MAAM,2BAA2B,QAAmB,CAAC;AAC5D,eAAO,MAAM,0BAA0B,QAAwD,CAAC;AAChG,eAAO,MAAM,qBAAqB,4FAOxB,CAAC;AACX,eAAO,MAAM,wBAAwB,yBAAyB,CAAC;AAC/D,eAAO,MAAM,2BAA2B,qFAK9B,CAAC;AACX,eAAO,MAAM,kBAAkB,6CAA8C,CAAC;AAE9E,eAAO,MAAM,oBAAoB,EAAG,0BAAmC,CAAC;AACxE,eAAO,MAAM,iBAAiB,sEAAuE,CAAC;AAEtG,eAAO,MAAM,iBAAiB,4vBA2CpB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,eAAO,MAAM,kBAAkB,yFAOrB,CAAC;AAEX,eAAO,MAAM,iBAAiB,uSAgBpB,CAAC;AAEX,eAAO,MAAM,gBAAgB,oCAAqC,CAAC;AAEnE,eAAO,MAAM,qBAAqB,2UAoBa,CAAC;AAEhD,eAAO,MAAM,oBAAoB,wCAAyC,CAAC;AAC3E,eAAO,MAAM,sBAAsB,0CAA2C,CAAC;AAC/E,eAAO,MAAM,gBAAgB,wDAAyD,CAAC;AACvF,eAAO,MAAM,uBAAuB,oEAAqE,CAAC;AAC1G,eAAO,MAAM,oBAAoB,yDAA0D,CAAC;AAC5F,eAAO,MAAM,gBAAgB,iGASnB,CAAC;AACX,eAAO,MAAM,iBAAiB,oDAAqD,CAAC;AACpF,eAAO,MAAM,gBAAgB,iHAUnB,CAAC;AACX,eAAO,MAAM,eAAe,iDAAkD,CAAC;AAC/E,eAAO,MAAM,eAAe,8CAA+C,CAAC;AAC5E,eAAO,MAAM,kBAAkB,4CAA6C,CAAC;AAC7E,eAAO,MAAM,mBAAmB,iDAAkD,CAAC;AAEnF,eAAO,MAAM,2BAA2B,oIAc9B,CAAC;AAEX,eAAO,MAAM,qBAAqB,8kBAgCxB,CAAC;AAEX,eAAO,MAAM,gBAAgB,gEAAiE,CAAC;AAE/F,eAAO,MAAM,8BAA8B,uLAQjC,CAAC"}
@@ -0,0 +1,207 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CAPABILITY_UNAVAILABLE_REASONS = exports.CAPABILITY_MODES = exports.PLATFORM_CAPABILITIES = exports.SOURCE_CONTROL_REGION_KINDS = exports.TASK_RELEASE_STATES = exports.TASK_SPRINT_STATES = exports.TASK_LINK_TYPES = exports.TASK_VIEW_SORTS = exports.TASK_VIEW_GROUPS = exports.TASK_VIEW_LAYOUTS = exports.TASK_FIELD_TYPES = exports.WORK_ITEM_PRIORITIES = exports.BUILTIN_WORK_ITEM_TYPES = exports.WORK_ITEM_LEVELS = exports.TASK_STATUS_CATEGORIES = exports.TASK_SPACE_TEMPLATES = exports.COLLABORATION_ACTIONS = exports.AGENT_TOOL_RISKS = exports.AGENT_ERROR_CODES = exports.AGENT_RUN_STATUSES = exports.WORKSPACE_ACTIONS = exports.SETTINGS_SECTIONS = exports.SETTINGS_API_VERSION = exports.MARKETPLACE_SCOPES = exports.PLUGIN_DEFINITION_FILENAMES = exports.PLUGIN_MANIFEST_FILENAME = exports.COMMUNITY_MEDIA_TYPES = exports.COMMUNITY_MEDIA_BODY_BYTES = exports.COMMUNITY_MEDIA_VIDEO_BYTES = exports.COMMUNITY_MEDIA_IMAGE_BYTES = exports.PLUGIN_SCHEMA_VERSION = void 0;
4
+ // Generated from packages/schema/src/constants.ts. Do not edit; run the Octonode SDK sync.
5
+ exports.PLUGIN_SCHEMA_VERSION = "1";
6
+ exports.COMMUNITY_MEDIA_IMAGE_BYTES = 8 * 1024 * 1024;
7
+ exports.COMMUNITY_MEDIA_VIDEO_BYTES = 20 * 1024 * 1024;
8
+ exports.COMMUNITY_MEDIA_BODY_BYTES = Math.ceil(exports.COMMUNITY_MEDIA_VIDEO_BYTES / 3) * 4 + 4096;
9
+ exports.COMMUNITY_MEDIA_TYPES = [
10
+ "image/jpeg",
11
+ "image/png",
12
+ "image/webp",
13
+ "image/gif",
14
+ "video/mp4",
15
+ "video/webm",
16
+ ];
17
+ exports.PLUGIN_MANIFEST_FILENAME = "octonode.plugin.json";
18
+ exports.PLUGIN_DEFINITION_FILENAMES = [
19
+ "octonode.yml",
20
+ "octonode.yaml",
21
+ "octonode.json",
22
+ exports.PLUGIN_MANIFEST_FILENAME,
23
+ ];
24
+ exports.MARKETPLACE_SCOPES = ["user", "group", "org", "public"];
25
+ exports.SETTINGS_API_VERSION = "octonode.dev/settings/v1";
26
+ exports.SETTINGS_SECTIONS = ["appearance", "overrides", "layers", "views", "discovery"];
27
+ exports.WORKSPACE_ACTIONS = [
28
+ "projects:read",
29
+ "projects:write",
30
+ "workflows:run",
31
+ "data:read",
32
+ "data:write",
33
+ "tables:manage",
34
+ "members:invite",
35
+ "members:manage",
36
+ "teams:manage",
37
+ "plugins:publish",
38
+ "plugins:install",
39
+ "org:settings",
40
+ "social:read",
41
+ "social:write",
42
+ "social:moderate",
43
+ "tasks:read",
44
+ "tasks:write",
45
+ "tasks:manage",
46
+ "reviews:write",
47
+ "github:connect",
48
+ "github:publish",
49
+ "agents:manage",
50
+ "billing:read",
51
+ "billing:manage",
52
+ "integrations:read",
53
+ "integrations:manage",
54
+ "design:read",
55
+ "design:review",
56
+ "previews:read",
57
+ "previews:manage",
58
+ "terminal:use",
59
+ "workflow-agents:run",
60
+ "workflow-agents:manage",
61
+ "agent-operations:read",
62
+ "agent-operations:manage",
63
+ "data:export",
64
+ "data:restore",
65
+ "workspace:delete",
66
+ "content:read",
67
+ "content:write",
68
+ "content:publish",
69
+ "content:moderate",
70
+ ];
71
+ exports.AGENT_RUN_STATUSES = [
72
+ "queued",
73
+ "running",
74
+ "approval_required",
75
+ "completed",
76
+ "cancelled",
77
+ "failed",
78
+ ];
79
+ exports.AGENT_ERROR_CODES = [
80
+ "provider_not_configured",
81
+ "service_unavailable",
82
+ "provider_rate_limited",
83
+ "provider_unavailable",
84
+ "timeout",
85
+ "cancelled",
86
+ "invalid_model_response",
87
+ "invalid_tool_call",
88
+ "tool_failed",
89
+ "step_limit",
90
+ "token_limit",
91
+ "permission_denied",
92
+ "approval_denied",
93
+ "conflict",
94
+ "internal_error",
95
+ ];
96
+ exports.AGENT_TOOL_RISKS = ["read", "write", "high"];
97
+ exports.COLLABORATION_ACTIONS = [
98
+ "social:read",
99
+ "social:write",
100
+ "social:moderate",
101
+ "tasks:read",
102
+ "tasks:write",
103
+ "tasks:manage",
104
+ "reviews:write",
105
+ "design:read",
106
+ "design:review",
107
+ "github:connect",
108
+ "github:publish",
109
+ "agents:manage",
110
+ "data:export",
111
+ "data:restore",
112
+ "workspace:delete",
113
+ "content:read",
114
+ "content:write",
115
+ "content:publish",
116
+ "content:moderate",
117
+ ];
118
+ exports.TASK_SPACE_TEMPLATES = ["simple", "kanban", "scrum"];
119
+ exports.TASK_STATUS_CATEGORIES = ["todo", "in_progress", "done"];
120
+ exports.WORK_ITEM_LEVELS = ["initiative", "epic", "standard", "subtask"];
121
+ exports.BUILTIN_WORK_ITEM_TYPES = ["initiative", "epic", "story", "task", "bug", "subtask"];
122
+ exports.WORK_ITEM_PRIORITIES = ["highest", "high", "medium", "low", "lowest"];
123
+ exports.TASK_FIELD_TYPES = [
124
+ "text",
125
+ "number",
126
+ "single_select",
127
+ "multi_select",
128
+ "date",
129
+ "checkbox",
130
+ "user",
131
+ "url",
132
+ ];
133
+ exports.TASK_VIEW_LAYOUTS = ["board", "list", "calendar", "timeline"];
134
+ exports.TASK_VIEW_GROUPS = [
135
+ "status",
136
+ "assignee",
137
+ "priority",
138
+ "type",
139
+ "tag",
140
+ "sprint",
141
+ "release",
142
+ "custom_single_select",
143
+ "none",
144
+ ];
145
+ exports.TASK_VIEW_SORTS = ["rank", "updated", "due", "priority"];
146
+ exports.TASK_LINK_TYPES = ["blocks", "duplicates", "relates"];
147
+ exports.TASK_SPRINT_STATES = ["future", "active", "completed"];
148
+ exports.TASK_RELEASE_STATES = ["unreleased", "released", "archived"];
149
+ exports.SOURCE_CONTROL_REGION_KINDS = [
150
+ "if",
151
+ "switch",
152
+ "for",
153
+ "while",
154
+ "do-while",
155
+ "for-in",
156
+ "for-of",
157
+ "break",
158
+ "continue",
159
+ "label",
160
+ "try",
161
+ "catch",
162
+ "finally",
163
+ ];
164
+ exports.PLATFORM_CAPABILITIES = [
165
+ "workspace_identity",
166
+ "workspace_social",
167
+ "task_management",
168
+ "workspace_admin",
169
+ "workflow_execution",
170
+ "billing",
171
+ "design_review",
172
+ "design_preview",
173
+ "architecture",
174
+ "repository_registry",
175
+ "repository_discovery",
176
+ "repository_git_read",
177
+ "repository_git_write",
178
+ "design_architecture_embed",
179
+ "workspace_registry_backup_restore",
180
+ "github",
181
+ "slack",
182
+ "google",
183
+ "meta",
184
+ "qwen",
185
+ "workflow_agents",
186
+ "cloud_terminal",
187
+ "mcp_catalog",
188
+ "monitoring",
189
+ "agent_monitoring",
190
+ "backup_restore",
191
+ "write_authority",
192
+ "community_read",
193
+ "community_authoring",
194
+ "community_publishing",
195
+ "workflow_templates",
196
+ ];
197
+ exports.CAPABILITY_MODES = ["trusted-local", "configured-local-cloud", "hosted"];
198
+ exports.CAPABILITY_UNAVAILABLE_REASONS = [
199
+ "not_implemented",
200
+ "requires_cloud_configuration",
201
+ "requires_hosted_runtime",
202
+ "provider_not_configured",
203
+ "disabled_by_policy",
204
+ "missing_entitlement",
205
+ "missing_permission",
206
+ ];
207
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/plugins/schema/constants.ts"],"names":[],"mappings":";;;AAAA,2FAA2F;AAC9E,QAAA,qBAAqB,GAAG,GAAY,CAAC;AACrC,QAAA,2BAA2B,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;AAC9C,QAAA,2BAA2B,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AAC/C,QAAA,0BAA0B,GAAG,IAAI,CAAC,IAAI,CAAC,mCAA2B,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;AACnF,QAAA,qBAAqB,GAAG;IACnC,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,WAAW;IACX,WAAW;IACX,YAAY;CACJ,CAAC;AACE,QAAA,wBAAwB,GAAG,sBAAsB,CAAC;AAClD,QAAA,2BAA2B,GAAG;IACzC,cAAc;IACd,eAAe;IACf,eAAe;IACf,gCAAwB;CAChB,CAAC;AACE,QAAA,kBAAkB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAU,CAAC;AAEjE,QAAA,oBAAoB,GAAG,0BAAmC,CAAC;AAC3D,QAAA,iBAAiB,GAAG,CAAC,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,CAAU,CAAC;AAEzF,QAAA,iBAAiB,GAAG;IAC/B,eAAe;IACf,gBAAgB;IAChB,eAAe;IACf,WAAW;IACX,YAAY;IACZ,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,cAAc;IACd,aAAa;IACb,cAAc;IACd,iBAAiB;IACjB,YAAY;IACZ,aAAa;IACb,cAAc;IACd,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,cAAc;IACd,gBAAgB;IAChB,mBAAmB;IAC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;IACR,OAAO;IACP,QAAQ;IACR,MAAM;IACN,MAAM;IACN,iBAAiB;IACjB,gBAAgB;IAChB,aAAa;IACb,YAAY;IACZ,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,gBAAgB;IAChB,qBAAqB;IACrB,sBAAsB;IACtB,oBAAoB;CACZ,CAAC;AAEE,QAAA,gBAAgB,GAAG,CAAC,eAAe,EAAE,wBAAwB,EAAE,QAAQ,CAAU,CAAC;AAElF,QAAA,8BAA8B,GAAG;IAC5C,iBAAiB;IACjB,8BAA8B;IAC9B,yBAAyB;IACzB,yBAAyB;IACzB,oBAAoB;IACpB,qBAAqB;IACrB,oBAAoB;CACZ,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { z } from "zod";
2
+ export declare const ICON_NAMES: readonly ["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"];
3
+ export declare const IconName: z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>;
4
+ export type IconName = z.infer<typeof IconName>;
5
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/icons.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,UAAU,skBAsDb,CAAC;AAEX,eAAO,MAAM,QAAQ,wkBAAqB,CAAC;AAC3C,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IconName = exports.ICON_NAMES = void 0;
4
+ // Generated from packages/schema/src/icons.ts. Do not edit; run the Octonode SDK sync.
5
+ const zod_1 = require("zod");
6
+ exports.ICON_NAMES = [
7
+ "arrow-up-down",
8
+ "binary",
9
+ "bomb",
10
+ "boxes",
11
+ "braces",
12
+ "calculator",
13
+ "calendar",
14
+ "camera",
15
+ "clock",
16
+ "code",
17
+ "copy-x",
18
+ "database",
19
+ "dices",
20
+ "filter",
21
+ "flag",
22
+ "flask",
23
+ "function",
24
+ "git-branch",
25
+ "git-merge",
26
+ "group",
27
+ "hook",
28
+ "list-filter",
29
+ "merge",
30
+ "octagon-x",
31
+ "package",
32
+ "package-x",
33
+ "pencil",
34
+ "play",
35
+ "regex",
36
+ "repeat",
37
+ "replace",
38
+ "ruler",
39
+ "scan-eye",
40
+ "scissors",
41
+ "search",
42
+ "server-cog",
43
+ "settings",
44
+ "sigma",
45
+ "split",
46
+ "terminal",
47
+ "test-tube",
48
+ "text-cursor-input",
49
+ "ticket",
50
+ "truck",
51
+ "type",
52
+ "typescript",
53
+ "ungroup",
54
+ "variable",
55
+ "wand",
56
+ "wave",
57
+ "webhook",
58
+ "workflow",
59
+ "x",
60
+ ];
61
+ exports.IconName = zod_1.z.enum(exports.ICON_NAMES);
62
+ //# sourceMappingURL=icons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../src/plugins/schema/icons.ts"],"names":[],"mappings":";;;AAAA,uFAAuF;AACvF,6BAAwB;AAEX,QAAA,UAAU,GAAG;IACxB,eAAe;IACf,QAAQ;IACR,MAAM;IACN,OAAO;IACP,QAAQ;IACR,YAAY;IACZ,UAAU;IACV,QAAQ;IACR,OAAO;IACP,MAAM;IACN,QAAQ;IACR,UAAU;IACV,OAAO;IACP,QAAQ;IACR,MAAM;IACN,OAAO;IACP,UAAU;IACV,YAAY;IACZ,WAAW;IACX,OAAO;IACP,MAAM;IACN,aAAa;IACb,OAAO;IACP,WAAW;IACX,SAAS;IACT,WAAW;IACX,QAAQ;IACR,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;IACT,OAAO;IACP,UAAU;IACV,UAAU;IACV,QAAQ;IACR,YAAY;IACZ,UAAU;IACV,OAAO;IACP,OAAO;IACP,UAAU;IACV,WAAW;IACX,mBAAmB;IACnB,QAAQ;IACR,OAAO;IACP,MAAM;IACN,YAAY;IACZ,SAAS;IACT,UAAU;IACV,MAAM;IACN,MAAM;IACN,SAAS;IACT,UAAU;IACV,GAAG;CACK,CAAC;AAEE,QAAA,QAAQ,GAAG,OAAC,CAAC,IAAI,CAAC,kBAAU,CAAC,CAAC"}