@constructive-sdk/cli 0.30.3 → 0.31.1
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/admin/cli/commands/app-admin-grant.js +34 -34
- package/admin/cli/commands/app-claimed-invite.js +28 -28
- package/admin/cli/commands/app-grant.js +48 -48
- package/admin/cli/commands/app-invite.js +104 -104
- package/admin/cli/commands/app-membership-default.js +34 -34
- package/admin/cli/commands/app-membership.js +108 -108
- package/admin/cli/commands/app-owner-grant.js +34 -34
- package/admin/cli/commands/app-permission-default-grant.js +34 -34
- package/admin/cli/commands/app-permission-default-permission.js +6 -6
- package/admin/cli/commands/app-permission.js +28 -28
- package/admin/cli/commands/app-permissions-get-by-mask.js +6 -6
- package/admin/cli/commands/membership-type.js +48 -48
- package/admin/cli/commands/org-admin-grant.js +34 -34
- package/admin/cli/commands/org-chart-edge-grant.js +59 -59
- package/admin/cli/commands/org-chart-edge.js +44 -44
- package/admin/cli/commands/org-claimed-invite.js +40 -40
- package/admin/cli/commands/org-get-managers-record.js +9 -9
- package/admin/cli/commands/org-get-subordinates-record.js +9 -9
- package/admin/cli/commands/org-grant.js +55 -55
- package/admin/cli/commands/org-invite.js +144 -144
- package/admin/cli/commands/org-is-manager-of.js +4 -4
- package/admin/cli/commands/org-member-profile.js +85 -85
- package/admin/cli/commands/org-member.js +28 -28
- package/admin/cli/commands/org-membership-default.js +40 -40
- package/admin/cli/commands/org-membership-setting.js +119 -119
- package/admin/cli/commands/org-membership.js +136 -136
- package/admin/cli/commands/org-owner-grant.js +34 -34
- package/admin/cli/commands/org-permission-default-grant.js +50 -50
- package/admin/cli/commands/org-permission-default-permission.js +22 -22
- package/admin/cli/commands/org-permission-default.js +19 -19
- package/admin/cli/commands/org-permission.js +28 -28
- package/admin/cli/commands/org-permissions-get-by-mask.js +6 -6
- package/admin/cli/commands.js +57 -57
- package/admin/cli/executor.d.ts +45 -45
- package/admin/orm/index.d.ts +67 -67
- package/admin/orm/index.js +44 -44
- package/admin/orm/input-types.d.ts +3168 -3168
- package/admin/orm/input-types.js +1 -1
- package/admin/orm/models/index.d.ts +22 -22
- package/admin/orm/models/index.js +45 -45
- package/admin/orm/mutation/index.d.ts +12 -12
- package/admin/orm/mutation/index.js +12 -12
- package/admin/orm/query/index.d.ts +47 -47
- package/admin/orm/query/index.js +68 -68
- package/agent/cli/commands/agent-message.js +77 -77
- package/agent/cli/commands/agent-persona.js +110 -110
- package/agent/cli/commands/agent-plan.js +69 -69
- package/agent/cli/commands/agent-prompt.js +71 -71
- package/agent/cli/commands/agent-resource-chunk.js +16 -16
- package/agent/cli/commands/agent-resource.js +189 -189
- package/agent/cli/commands/agent-task.js +132 -132
- package/agent/cli/commands/agent-thread.js +120 -120
- package/agent/cli/commands/agent.js +100 -100
- package/agent/cli/commands.js +9 -9
- package/agent/cli/executor.d.ts +4 -4
- package/agent/orm/index.d.ts +8 -8
- package/agent/orm/index.js +8 -8
- package/agent/orm/input-types.d.ts +1788 -1788
- package/agent/orm/input-types.js +9 -9
- package/agent/orm/models/index.d.ts +4 -4
- package/agent/orm/models/index.js +9 -9
- package/api/cli/commands/api-module.js +42 -42
- package/api/cli/commands/api-schema.js +26 -26
- package/api/cli/commands/api-setting.js +126 -126
- package/api/cli/commands/api.js +78 -78
- package/api/cli/commands/app.js +82 -82
- package/api/cli/commands/apply-registry-defaults.js +4 -4
- package/api/cli/commands/ast-migration.js +66 -66
- package/api/cli/commands/check-constraint.js +91 -91
- package/api/cli/commands/composite-type.js +90 -90
- package/api/cli/commands/cors-setting.js +34 -34
- package/api/cli/commands/database-setting.js +142 -142
- package/api/cli/commands/database-transfer.js +125 -125
- package/api/cli/commands/database.js +62 -62
- package/api/cli/commands/default-privilege.js +52 -52
- package/api/cli/commands/domain.js +86 -86
- package/api/cli/commands/embedding-chunk.js +178 -178
- package/api/cli/commands/enum.js +82 -82
- package/api/cli/commands/field.js +231 -231
- package/api/cli/commands/foreign-key-constraint.js +132 -132
- package/api/cli/commands/full-text-search.js +60 -60
- package/api/cli/commands/function.js +22 -22
- package/api/cli/commands/index.js +118 -118
- package/api/cli/commands/migrate-file.js +4 -4
- package/api/cli/commands/node-type-registry.js +48 -48
- package/api/cli/commands/partition.js +102 -102
- package/api/cli/commands/policy.js +128 -128
- package/api/cli/commands/primary-key-constraint.js +80 -80
- package/api/cli/commands/pubkey-setting.js +72 -72
- package/api/cli/commands/rls-setting.js +69 -69
- package/api/cli/commands/schema-grant.js +28 -28
- package/api/cli/commands/schema.js +106 -106
- package/api/cli/commands/site-metadatum.js +42 -42
- package/api/cli/commands/site-module.js +38 -38
- package/api/cli/commands/site-theme.js +6 -6
- package/api/cli/commands/site.js +102 -102
- package/api/cli/commands/spatial-relation.js +83 -83
- package/api/cli/commands/sql-action.js +57 -57
- package/api/cli/commands/table-grant.js +66 -66
- package/api/cli/commands/table.js +203 -203
- package/api/cli/commands/trigger-function.js +34 -34
- package/api/cli/commands/trigger.js +64 -64
- package/api/cli/commands/unique-constraint.js +94 -94
- package/api/cli/commands/view-grant.js +46 -46
- package/api/cli/commands/view-rule.js +52 -52
- package/api/cli/commands/view-table.js +34 -34
- package/api/cli/commands/view.js +135 -135
- package/api/cli/commands/webauthn-setting.js +174 -174
- package/api/cli/commands.js +71 -71
- package/api/cli/executor.d.ts +45 -45
- package/api/orm/index.d.ts +77 -77
- package/api/orm/index.js +64 -64
- package/api/orm/input-types.d.ts +8781 -8781
- package/api/orm/input-types.js +48 -48
- package/api/orm/models/index.d.ts +32 -32
- package/api/orm/models/index.js +65 -65
- package/api/orm/mutation/index.d.ts +29 -29
- package/api/orm/mutation/index.js +30 -30
- package/api/orm/query/index.d.ts +1 -1
- package/api/orm/query/index.js +4 -4
- package/auth/cli/commands/audit-log-auth.js +57 -57
- package/auth/cli/commands/crypto-address.js +50 -50
- package/auth/cli/commands/email.js +50 -50
- package/auth/cli/commands/identity-provider.js +20 -32
- package/auth/cli/commands/org-api-key-list.js +47 -47
- package/auth/cli/commands/phone-number.js +67 -67
- package/auth/cli/commands/principal-entity.js +32 -32
- package/auth/cli/commands/principal-scope-override.js +43 -43
- package/auth/cli/commands/principal.js +42 -42
- package/auth/cli/commands/user-connected-account.js +33 -33
- package/auth/cli/commands/user.js +43 -43
- package/auth/cli/commands/webauthn-credential.js +123 -123
- package/auth/cli/commands.js +59 -59
- package/auth/cli/executor.d.ts +96 -96
- package/auth/orm/index.d.ts +103 -103
- package/auth/orm/index.js +14 -14
- package/auth/orm/input-types.d.ts +2102 -2109
- package/auth/orm/input-types.js +5 -5
- package/auth/orm/models/index.d.ts +7 -7
- package/auth/orm/models/index.js +15 -15
- package/auth/orm/mutation/index.d.ts +138 -138
- package/auth/orm/mutation/index.js +168 -168
- package/auth/orm/query/index.d.ts +10 -10
- package/auth/orm/query/index.js +14 -14
- package/compute/cli/commands/db-preset.js +96 -96
- package/compute/cli/commands/function-api-binding.js +41 -41
- package/compute/cli/commands/function-definition.js +375 -397
- package/compute/cli/commands/function-deployment-event.js +48 -48
- package/compute/cli/commands/function-deployment.js +220 -220
- package/compute/cli/commands/function-execution-log.js +48 -48
- package/compute/cli/commands/function-graph-commit.js +69 -69
- package/compute/cli/commands/function-graph-execution-node-state.js +106 -106
- package/compute/cli/commands/function-graph-execution-output.js +28 -28
- package/compute/cli/commands/function-graph-execution.js +233 -233
- package/compute/cli/commands/function-graph-object.js +37 -37
- package/compute/cli/commands/function-graph-ref.js +22 -22
- package/compute/cli/commands/function-graph-store.js +28 -28
- package/compute/cli/commands/function-graph.js +100 -100
- package/compute/cli/commands/function-invocation.js +175 -131
- package/compute/cli/commands/get-all-record.js +11 -11
- package/compute/cli/commands/infra-commit.js +69 -69
- package/compute/cli/commands/infra-get-all-record.js +11 -11
- package/compute/cli/commands/infra-object.js +37 -37
- package/compute/cli/commands/infra-ref.js +22 -22
- package/compute/cli/commands/infra-store.js +28 -28
- package/compute/cli/commands/integration-provider.js +91 -91
- package/compute/cli/commands/namespace-event.js +127 -127
- package/compute/cli/commands/namespace.js +115 -115
- package/compute/cli/commands/platform-function-api-binding.js +41 -41
- package/compute/cli/commands/platform-function-definition.js +357 -379
- package/compute/cli/commands/platform-function-deployment-event.js +28 -28
- package/compute/cli/commands/platform-function-deployment.js +206 -206
- package/compute/cli/commands/platform-function-execution-log.js +28 -28
- package/compute/cli/commands/platform-function-invocation.js +161 -117
- package/compute/cli/commands/platform-namespace-event.js +108 -108
- package/compute/cli/commands/platform-namespace.js +109 -109
- package/compute/cli/commands/platform-resource-definition.js +157 -157
- package/compute/cli/commands/platform-resource-event.js +41 -41
- package/compute/cli/commands/platform-resource-status-check.js +59 -59
- package/compute/cli/commands/platform-resource.js +182 -182
- package/compute/cli/commands/platform-resources-requirements-state.js +32 -32
- package/compute/cli/commands/platform-resources-resolved-requirement.js +53 -53
- package/compute/cli/commands/resource-definition.js +172 -172
- package/compute/cli/commands/resource-event.js +50 -50
- package/compute/cli/commands/resource-status-check.js +68 -68
- package/compute/cli/commands/resource.js +192 -192
- package/compute/cli/commands/resources-requirements-state.js +32 -32
- package/compute/cli/commands/resources-resolved-requirement.js +53 -53
- package/compute/cli/commands.js +87 -87
- package/compute/cli/executor.d.ts +78 -78
- package/compute/orm/index.d.ts +110 -110
- package/compute/orm/index.js +64 -64
- package/compute/orm/input-types.d.ts +7256 -7037
- package/compute/orm/input-types.js +15 -13
- package/compute/orm/models/index.d.ts +32 -32
- package/compute/orm/models/index.js +65 -65
- package/compute/orm/mutation/index.d.ts +77 -77
- package/compute/orm/mutation/index.js +96 -96
- package/config/cli/commands/config.js +102 -102
- package/config/cli/commands/platform-config.js +96 -96
- package/config/cli/commands/platform-internal-secret.js +43 -43
- package/config/cli/commands/platform-secret.js +53 -53
- package/config/cli/commands/secret.js +55 -55
- package/config/cli/commands.js +15 -15
- package/config/cli/executor.d.ts +29 -29
- package/config/orm/index.d.ts +30 -30
- package/config/orm/index.js +2 -2
- package/config/orm/input-types.d.ts +416 -416
- package/config/orm/models/index.d.ts +1 -1
- package/config/orm/models/index.js +3 -3
- package/config/orm/mutation/index.d.ts +47 -47
- package/config/orm/mutation/index.js +60 -60
- package/esm/admin/cli/commands/app-admin-grant.js +34 -34
- package/esm/admin/cli/commands/app-claimed-invite.js +28 -28
- package/esm/admin/cli/commands/app-grant.js +48 -48
- package/esm/admin/cli/commands/app-invite.js +104 -104
- package/esm/admin/cli/commands/app-membership-default.js +34 -34
- package/esm/admin/cli/commands/app-membership.js +108 -108
- package/esm/admin/cli/commands/app-owner-grant.js +34 -34
- package/esm/admin/cli/commands/app-permission-default-grant.js +34 -34
- package/esm/admin/cli/commands/app-permission-default-permission.js +6 -6
- package/esm/admin/cli/commands/app-permission.js +28 -28
- package/esm/admin/cli/commands/app-permissions-get-by-mask.js +6 -6
- package/esm/admin/cli/commands/membership-type.js +48 -48
- package/esm/admin/cli/commands/org-admin-grant.js +34 -34
- package/esm/admin/cli/commands/org-chart-edge-grant.js +59 -59
- package/esm/admin/cli/commands/org-chart-edge.js +44 -44
- package/esm/admin/cli/commands/org-claimed-invite.js +40 -40
- package/esm/admin/cli/commands/org-get-managers-record.js +9 -9
- package/esm/admin/cli/commands/org-get-subordinates-record.js +9 -9
- package/esm/admin/cli/commands/org-grant.js +55 -55
- package/esm/admin/cli/commands/org-invite.js +144 -144
- package/esm/admin/cli/commands/org-is-manager-of.js +4 -4
- package/esm/admin/cli/commands/org-member-profile.js +85 -85
- package/esm/admin/cli/commands/org-member.js +28 -28
- package/esm/admin/cli/commands/org-membership-default.js +40 -40
- package/esm/admin/cli/commands/org-membership-setting.js +119 -119
- package/esm/admin/cli/commands/org-membership.js +136 -136
- package/esm/admin/cli/commands/org-owner-grant.js +34 -34
- package/esm/admin/cli/commands/org-permission-default-grant.js +50 -50
- package/esm/admin/cli/commands/org-permission-default-permission.js +22 -22
- package/esm/admin/cli/commands/org-permission-default.js +19 -19
- package/esm/admin/cli/commands/org-permission.js +28 -28
- package/esm/admin/cli/commands/org-permissions-get-by-mask.js +6 -6
- package/esm/admin/cli/commands.js +57 -57
- package/esm/admin/cli/executor.d.ts +45 -45
- package/esm/admin/orm/index.d.ts +67 -67
- package/esm/admin/orm/index.js +44 -44
- package/esm/admin/orm/input-types.d.ts +3168 -3168
- package/esm/admin/orm/input-types.js +1 -1
- package/esm/admin/orm/models/index.d.ts +22 -22
- package/esm/admin/orm/models/index.js +22 -22
- package/esm/admin/orm/mutation/index.d.ts +12 -12
- package/esm/admin/orm/mutation/index.js +12 -12
- package/esm/admin/orm/query/index.d.ts +47 -47
- package/esm/admin/orm/query/index.js +68 -68
- package/esm/agent/cli/commands/agent-message.js +77 -77
- package/esm/agent/cli/commands/agent-persona.js +110 -110
- package/esm/agent/cli/commands/agent-plan.js +69 -69
- package/esm/agent/cli/commands/agent-prompt.js +71 -71
- package/esm/agent/cli/commands/agent-resource-chunk.js +16 -16
- package/esm/agent/cli/commands/agent-resource.js +189 -189
- package/esm/agent/cli/commands/agent-task.js +132 -132
- package/esm/agent/cli/commands/agent-thread.js +120 -120
- package/esm/agent/cli/commands/agent.js +100 -100
- package/esm/agent/cli/commands.js +9 -9
- package/esm/agent/cli/executor.d.ts +4 -4
- package/esm/agent/orm/index.d.ts +8 -8
- package/esm/agent/orm/index.js +8 -8
- package/esm/agent/orm/input-types.d.ts +1788 -1788
- package/esm/agent/orm/input-types.js +9 -9
- package/esm/agent/orm/models/index.d.ts +4 -4
- package/esm/agent/orm/models/index.js +4 -4
- package/esm/api/cli/commands/api-module.js +42 -42
- package/esm/api/cli/commands/api-schema.js +26 -26
- package/esm/api/cli/commands/api-setting.js +126 -126
- package/esm/api/cli/commands/api.js +78 -78
- package/esm/api/cli/commands/app.js +82 -82
- package/esm/api/cli/commands/apply-registry-defaults.js +4 -4
- package/esm/api/cli/commands/ast-migration.js +66 -66
- package/esm/api/cli/commands/check-constraint.js +91 -91
- package/esm/api/cli/commands/composite-type.js +90 -90
- package/esm/api/cli/commands/cors-setting.js +34 -34
- package/esm/api/cli/commands/database-setting.js +142 -142
- package/esm/api/cli/commands/database-transfer.js +125 -125
- package/esm/api/cli/commands/database.js +62 -62
- package/esm/api/cli/commands/default-privilege.js +52 -52
- package/esm/api/cli/commands/domain.js +86 -86
- package/esm/api/cli/commands/embedding-chunk.js +178 -178
- package/esm/api/cli/commands/enum.js +82 -82
- package/esm/api/cli/commands/field.js +231 -231
- package/esm/api/cli/commands/foreign-key-constraint.js +132 -132
- package/esm/api/cli/commands/full-text-search.js +60 -60
- package/esm/api/cli/commands/function.js +22 -22
- package/esm/api/cli/commands/index.js +118 -118
- package/esm/api/cli/commands/migrate-file.js +4 -4
- package/esm/api/cli/commands/node-type-registry.js +48 -48
- package/esm/api/cli/commands/partition.js +102 -102
- package/esm/api/cli/commands/policy.js +128 -128
- package/esm/api/cli/commands/primary-key-constraint.js +80 -80
- package/esm/api/cli/commands/pubkey-setting.js +72 -72
- package/esm/api/cli/commands/rls-setting.js +69 -69
- package/esm/api/cli/commands/schema-grant.js +28 -28
- package/esm/api/cli/commands/schema.js +106 -106
- package/esm/api/cli/commands/site-metadatum.js +42 -42
- package/esm/api/cli/commands/site-module.js +38 -38
- package/esm/api/cli/commands/site-theme.js +6 -6
- package/esm/api/cli/commands/site.js +102 -102
- package/esm/api/cli/commands/spatial-relation.js +83 -83
- package/esm/api/cli/commands/sql-action.js +57 -57
- package/esm/api/cli/commands/table-grant.js +66 -66
- package/esm/api/cli/commands/table.js +203 -203
- package/esm/api/cli/commands/trigger-function.js +34 -34
- package/esm/api/cli/commands/trigger.js +64 -64
- package/esm/api/cli/commands/unique-constraint.js +94 -94
- package/esm/api/cli/commands/view-grant.js +46 -46
- package/esm/api/cli/commands/view-rule.js +52 -52
- package/esm/api/cli/commands/view-table.js +34 -34
- package/esm/api/cli/commands/view.js +135 -135
- package/esm/api/cli/commands/webauthn-setting.js +174 -174
- package/esm/api/cli/commands.js +71 -71
- package/esm/api/cli/executor.d.ts +45 -45
- package/esm/api/orm/index.d.ts +77 -77
- package/esm/api/orm/index.js +64 -64
- package/esm/api/orm/input-types.d.ts +8781 -8781
- package/esm/api/orm/input-types.js +48 -48
- package/esm/api/orm/models/index.d.ts +32 -32
- package/esm/api/orm/models/index.js +32 -32
- package/esm/api/orm/mutation/index.d.ts +29 -29
- package/esm/api/orm/mutation/index.js +30 -30
- package/esm/api/orm/query/index.d.ts +1 -1
- package/esm/api/orm/query/index.js +4 -4
- package/esm/auth/cli/commands/audit-log-auth.js +57 -57
- package/esm/auth/cli/commands/crypto-address.js +50 -50
- package/esm/auth/cli/commands/email.js +50 -50
- package/esm/auth/cli/commands/identity-provider.js +20 -32
- package/esm/auth/cli/commands/org-api-key-list.js +47 -47
- package/esm/auth/cli/commands/phone-number.js +67 -67
- package/esm/auth/cli/commands/principal-entity.js +32 -32
- package/esm/auth/cli/commands/principal-scope-override.js +43 -43
- package/esm/auth/cli/commands/principal.js +42 -42
- package/esm/auth/cli/commands/user-connected-account.js +33 -33
- package/esm/auth/cli/commands/user.js +43 -43
- package/esm/auth/cli/commands/webauthn-credential.js +123 -123
- package/esm/auth/cli/commands.js +59 -59
- package/esm/auth/cli/executor.d.ts +96 -96
- package/esm/auth/orm/index.d.ts +103 -103
- package/esm/auth/orm/index.js +14 -14
- package/esm/auth/orm/input-types.d.ts +2102 -2109
- package/esm/auth/orm/input-types.js +5 -5
- package/esm/auth/orm/models/index.d.ts +7 -7
- package/esm/auth/orm/models/index.js +7 -7
- package/esm/auth/orm/mutation/index.d.ts +138 -138
- package/esm/auth/orm/mutation/index.js +168 -168
- package/esm/auth/orm/query/index.d.ts +10 -10
- package/esm/auth/orm/query/index.js +14 -14
- package/esm/compute/cli/commands/db-preset.js +96 -96
- package/esm/compute/cli/commands/function-api-binding.js +41 -41
- package/esm/compute/cli/commands/function-definition.js +375 -397
- package/esm/compute/cli/commands/function-deployment-event.js +48 -48
- package/esm/compute/cli/commands/function-deployment.js +220 -220
- package/esm/compute/cli/commands/function-execution-log.js +48 -48
- package/esm/compute/cli/commands/function-graph-commit.js +69 -69
- package/esm/compute/cli/commands/function-graph-execution-node-state.js +106 -106
- package/esm/compute/cli/commands/function-graph-execution-output.js +28 -28
- package/esm/compute/cli/commands/function-graph-execution.js +233 -233
- package/esm/compute/cli/commands/function-graph-object.js +37 -37
- package/esm/compute/cli/commands/function-graph-ref.js +22 -22
- package/esm/compute/cli/commands/function-graph-store.js +28 -28
- package/esm/compute/cli/commands/function-graph.js +100 -100
- package/esm/compute/cli/commands/function-invocation.js +175 -131
- package/esm/compute/cli/commands/get-all-record.js +11 -11
- package/esm/compute/cli/commands/infra-commit.js +69 -69
- package/esm/compute/cli/commands/infra-get-all-record.js +11 -11
- package/esm/compute/cli/commands/infra-object.js +37 -37
- package/esm/compute/cli/commands/infra-ref.js +22 -22
- package/esm/compute/cli/commands/infra-store.js +28 -28
- package/esm/compute/cli/commands/integration-provider.js +91 -91
- package/esm/compute/cli/commands/namespace-event.js +127 -127
- package/esm/compute/cli/commands/namespace.js +115 -115
- package/esm/compute/cli/commands/platform-function-api-binding.js +41 -41
- package/esm/compute/cli/commands/platform-function-definition.js +357 -379
- package/esm/compute/cli/commands/platform-function-deployment-event.js +28 -28
- package/esm/compute/cli/commands/platform-function-deployment.js +206 -206
- package/esm/compute/cli/commands/platform-function-execution-log.js +28 -28
- package/esm/compute/cli/commands/platform-function-invocation.js +161 -117
- package/esm/compute/cli/commands/platform-namespace-event.js +108 -108
- package/esm/compute/cli/commands/platform-namespace.js +109 -109
- package/esm/compute/cli/commands/platform-resource-definition.js +157 -157
- package/esm/compute/cli/commands/platform-resource-event.js +41 -41
- package/esm/compute/cli/commands/platform-resource-status-check.js +59 -59
- package/esm/compute/cli/commands/platform-resource.js +182 -182
- package/esm/compute/cli/commands/platform-resources-requirements-state.js +32 -32
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.js +53 -53
- package/esm/compute/cli/commands/resource-definition.js +172 -172
- package/esm/compute/cli/commands/resource-event.js +50 -50
- package/esm/compute/cli/commands/resource-status-check.js +68 -68
- package/esm/compute/cli/commands/resource.js +192 -192
- package/esm/compute/cli/commands/resources-requirements-state.js +32 -32
- package/esm/compute/cli/commands/resources-resolved-requirement.js +53 -53
- package/esm/compute/cli/commands.js +87 -87
- package/esm/compute/cli/executor.d.ts +78 -78
- package/esm/compute/orm/index.d.ts +110 -110
- package/esm/compute/orm/index.js +64 -64
- package/esm/compute/orm/input-types.d.ts +7256 -7037
- package/esm/compute/orm/input-types.js +15 -13
- package/esm/compute/orm/models/index.d.ts +32 -32
- package/esm/compute/orm/models/index.js +32 -32
- package/esm/compute/orm/mutation/index.d.ts +77 -77
- package/esm/compute/orm/mutation/index.js +96 -96
- package/esm/config/cli/commands/config.js +102 -102
- package/esm/config/cli/commands/platform-config.js +96 -96
- package/esm/config/cli/commands/platform-internal-secret.js +43 -43
- package/esm/config/cli/commands/platform-secret.js +53 -53
- package/esm/config/cli/commands/secret.js +55 -55
- package/esm/config/cli/commands.js +15 -15
- package/esm/config/cli/executor.d.ts +29 -29
- package/esm/config/orm/index.d.ts +30 -30
- package/esm/config/orm/index.js +2 -2
- package/esm/config/orm/input-types.d.ts +416 -416
- package/esm/config/orm/models/index.d.ts +1 -1
- package/esm/config/orm/models/index.js +1 -1
- package/esm/config/orm/mutation/index.d.ts +47 -47
- package/esm/config/orm/mutation/index.js +60 -60
- package/esm/infra/cli/commands/db-preset.js +96 -96
- package/esm/infra/cli/commands/infra-commit.js +69 -69
- package/esm/infra/cli/commands/infra-get-all-record.js +11 -11
- package/esm/infra/cli/commands/infra-object.js +37 -37
- package/esm/infra/cli/commands/infra-ref.js +22 -22
- package/esm/infra/cli/commands/infra-store.js +28 -28
- package/esm/infra/cli/commands/namespace-event.js +127 -127
- package/esm/infra/cli/commands/namespace.js +115 -115
- package/esm/infra/cli/commands/platform-namespace-event.js +108 -108
- package/esm/infra/cli/commands/platform-namespace.js +109 -109
- package/esm/infra/cli/commands.js +13 -13
- package/esm/infra/cli/executor.d.ts +10 -10
- package/esm/infra/orm/index.d.ts +15 -15
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +971 -971
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/mutation/index.d.ts +9 -9
- package/esm/infra/orm/mutation/index.js +12 -12
- package/esm/modules/cli/commands/agent-module.js +388 -388
- package/esm/modules/cli/commands/billing-module.js +250 -250
- package/esm/modules/cli/commands/billing-provider-module.js +182 -182
- package/esm/modules/cli/commands/blueprint-construction.js +72 -72
- package/esm/modules/cli/commands/blueprint-template.js +187 -187
- package/esm/modules/cli/commands/blueprint.js +95 -95
- package/esm/modules/cli/commands/compute-log-module.js +190 -190
- package/esm/modules/cli/commands/config-secrets-user-module.js +50 -50
- package/esm/modules/cli/commands/connected-accounts-module.js +76 -76
- package/esm/modules/cli/commands/crypto-addresses-module.js +89 -89
- package/esm/modules/cli/commands/crypto-auth-module.js +114 -114
- package/esm/modules/cli/commands/database-provision-module.js +174 -174
- package/esm/modules/cli/commands/db-pool-config.js +86 -86
- package/esm/modules/cli/commands/db-pool.js +112 -112
- package/esm/modules/cli/commands/db-preset-module.js +170 -170
- package/esm/modules/cli/commands/db-usage-module.js +249 -249
- package/esm/modules/cli/commands/default-ids-module.js +6 -6
- package/esm/modules/cli/commands/denormalized-table-field.js +100 -100
- package/esm/modules/cli/commands/devices-module.js +46 -46
- package/esm/modules/cli/commands/emails-module.js +76 -76
- package/esm/modules/cli/commands/entity-type-provision.js +405 -405
- package/esm/modules/cli/commands/events-module.js +399 -399
- package/esm/modules/cli/commands/function-deployment-module.js +189 -189
- package/esm/modules/cli/commands/function-invocation-module.js +176 -176
- package/esm/modules/cli/commands/function-module.js +193 -149
- package/esm/modules/cli/commands/graph-execution-module.js +214 -214
- package/esm/modules/cli/commands/graph-module.js +175 -175
- package/esm/modules/cli/commands/hierarchy-module.js +212 -212
- package/esm/modules/cli/commands/i-18-n-module.js +56 -56
- package/esm/modules/cli/commands/identity-providers-module.js +112 -112
- package/esm/modules/cli/commands/inference-log-module.js +181 -181
- package/esm/modules/cli/commands/infra-config-module.js +158 -158
- package/esm/modules/cli/commands/infra-secrets-module.js +157 -157
- package/esm/modules/cli/commands/integration-providers-module.js +112 -112
- package/esm/modules/cli/commands/internal-secrets-module.js +151 -151
- package/esm/modules/cli/commands/invites-module.js +178 -178
- package/esm/modules/cli/commands/limits-module.js +362 -362
- package/esm/modules/cli/commands/membership-types-module.js +6 -6
- package/esm/modules/cli/commands/memberships-module.js +411 -411
- package/esm/modules/cli/commands/merkle-store-module.js +160 -160
- package/esm/modules/cli/commands/namespace-module.js +176 -176
- package/esm/modules/cli/commands/notifications-module.js +250 -250
- package/esm/modules/cli/commands/permissions-module.js +202 -202
- package/esm/modules/cli/commands/phone-numbers-module.js +76 -76
- package/esm/modules/cli/commands/plans-module.js +190 -190
- package/esm/modules/cli/commands/principal-auth-module.js +174 -174
- package/esm/modules/cli/commands/profiles-module.js +225 -225
- package/esm/modules/cli/commands/rate-limit-meters-module.js +146 -146
- package/esm/modules/cli/commands/rate-limits-module.js +66 -66
- package/esm/modules/cli/commands/realtime-module.js +134 -134
- package/esm/modules/cli/commands/relation-provision.js +228 -228
- package/esm/modules/cli/commands/resolve-blueprint-field.js +4 -4
- package/esm/modules/cli/commands/resolve-blueprint-table.js +4 -4
- package/esm/modules/cli/commands/resource-module.js +250 -250
- package/esm/modules/cli/commands/rls-module.js +114 -114
- package/esm/modules/cli/commands/secure-table-provision.js +98 -98
- package/esm/modules/cli/commands/session-secrets-module.js +26 -26
- package/esm/modules/cli/commands/sessions-module.js +82 -82
- package/esm/modules/cli/commands/storage-log-module.js +173 -173
- package/esm/modules/cli/commands/storage-module.js +437 -437
- package/esm/modules/cli/commands/transfer-log-module.js +173 -173
- package/esm/modules/cli/commands/user-auth-module.js +266 -266
- package/esm/modules/cli/commands/user-credentials-module.js +28 -28
- package/esm/modules/cli/commands/user-settings-module.js +48 -48
- package/esm/modules/cli/commands/user-state-module.js +6 -6
- package/esm/modules/cli/commands/users-module.js +50 -50
- package/esm/modules/cli/commands/webauthn-auth-module.js +150 -150
- package/esm/modules/cli/commands/webauthn-credentials-module.js +74 -74
- package/esm/modules/cli/commands.js +117 -117
- package/esm/modules/cli/executor.d.ts +73 -73
- package/esm/modules/orm/index.d.ts +126 -126
- package/esm/modules/orm/index.js +106 -106
- package/esm/modules/orm/input-types.d.ts +11482 -11468
- package/esm/modules/orm/input-types.js +1 -1
- package/esm/modules/orm/models/index.d.ts +53 -53
- package/esm/modules/orm/models/index.js +53 -53
- package/esm/modules/orm/mutation/index.d.ts +51 -51
- package/esm/modules/orm/mutation/index.js +42 -42
- package/esm/modules/orm/query/index.d.ts +3 -3
- package/esm/modules/orm/query/index.js +8 -8
- package/esm/objects/cli/commands/commit.js +73 -73
- package/esm/objects/cli/commands/get-all-record.js +11 -11
- package/esm/objects/cli/commands/object.js +34 -34
- package/esm/objects/cli/commands/ref.js +31 -31
- package/esm/objects/cli/commands/store.js +32 -32
- package/esm/objects/cli/commands.js +7 -7
- package/esm/objects/cli/executor.d.ts +7 -7
- package/esm/objects/orm/index.d.ts +9 -9
- package/esm/objects/orm/index.js +4 -4
- package/esm/objects/orm/input-types.d.ts +384 -384
- package/esm/objects/orm/models/index.d.ts +2 -2
- package/esm/objects/orm/models/index.js +2 -2
- package/esm/objects/orm/mutation/index.d.ts +9 -9
- package/esm/objects/orm/mutation/index.js +12 -12
- package/esm/usage/cli/commands/app-limit-cap.js +26 -26
- package/esm/usage/cli/commands/app-limit-caps-default.js +19 -19
- package/esm/usage/cli/commands/app-limit-credit-code-item.js +41 -41
- package/esm/usage/cli/commands/app-limit-credit-code.js +26 -26
- package/esm/usage/cli/commands/app-limit-credit-redemption.js +22 -22
- package/esm/usage/cli/commands/app-limit-credit.js +26 -26
- package/esm/usage/cli/commands/app-limit-default.js +19 -19
- package/esm/usage/cli/commands/app-limit-event.js +86 -86
- package/esm/usage/cli/commands/app-limit-warning.js +24 -24
- package/esm/usage/cli/commands/app-limit.js +106 -106
- package/esm/usage/cli/commands/org-limit-aggregate.js +110 -110
- package/esm/usage/cli/commands/org-limit-cap.js +26 -26
- package/esm/usage/cli/commands/org-limit-caps-default.js +19 -19
- package/esm/usage/cli/commands/org-limit-credit.js +72 -72
- package/esm/usage/cli/commands/org-limit-default.js +19 -19
- package/esm/usage/cli/commands/org-limit-event.js +86 -86
- package/esm/usage/cli/commands/org-limit-warning.js +46 -46
- package/esm/usage/cli/commands/org-limit.js +123 -123
- package/esm/usage/cli/commands.js +27 -27
- package/esm/usage/cli/executor.d.ts +17 -17
- package/esm/usage/orm/index.d.ts +29 -29
- package/esm/usage/orm/index.js +24 -24
- package/esm/usage/orm/input-types.d.ts +2049 -2049
- package/esm/usage/orm/input-types.js +5 -5
- package/esm/usage/orm/models/index.d.ts +12 -12
- package/esm/usage/orm/models/index.js +12 -12
- package/esm/usage/orm/mutation/index.d.ts +16 -16
- package/esm/usage/orm/mutation/index.js +12 -12
- package/infra/cli/commands/db-preset.js +96 -96
- package/infra/cli/commands/infra-commit.js +69 -69
- package/infra/cli/commands/infra-get-all-record.js +11 -11
- package/infra/cli/commands/infra-object.js +37 -37
- package/infra/cli/commands/infra-ref.js +22 -22
- package/infra/cli/commands/infra-store.js +28 -28
- package/infra/cli/commands/namespace-event.js +127 -127
- package/infra/cli/commands/namespace.js +115 -115
- package/infra/cli/commands/platform-namespace-event.js +108 -108
- package/infra/cli/commands/platform-namespace.js +109 -109
- package/infra/cli/commands.js +13 -13
- package/infra/cli/executor.d.ts +10 -10
- package/infra/orm/index.d.ts +15 -15
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +971 -971
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/mutation/index.d.ts +9 -9
- package/infra/orm/mutation/index.js +12 -12
- package/modules/cli/commands/agent-module.js +388 -388
- package/modules/cli/commands/billing-module.js +250 -250
- package/modules/cli/commands/billing-provider-module.js +182 -182
- package/modules/cli/commands/blueprint-construction.js +72 -72
- package/modules/cli/commands/blueprint-template.js +187 -187
- package/modules/cli/commands/blueprint.js +95 -95
- package/modules/cli/commands/compute-log-module.js +190 -190
- package/modules/cli/commands/config-secrets-user-module.js +50 -50
- package/modules/cli/commands/connected-accounts-module.js +76 -76
- package/modules/cli/commands/crypto-addresses-module.js +89 -89
- package/modules/cli/commands/crypto-auth-module.js +114 -114
- package/modules/cli/commands/database-provision-module.js +174 -174
- package/modules/cli/commands/db-pool-config.js +86 -86
- package/modules/cli/commands/db-pool.js +112 -112
- package/modules/cli/commands/db-preset-module.js +170 -170
- package/modules/cli/commands/db-usage-module.js +249 -249
- package/modules/cli/commands/default-ids-module.js +6 -6
- package/modules/cli/commands/denormalized-table-field.js +100 -100
- package/modules/cli/commands/devices-module.js +46 -46
- package/modules/cli/commands/emails-module.js +76 -76
- package/modules/cli/commands/entity-type-provision.js +405 -405
- package/modules/cli/commands/events-module.js +399 -399
- package/modules/cli/commands/function-deployment-module.js +189 -189
- package/modules/cli/commands/function-invocation-module.js +176 -176
- package/modules/cli/commands/function-module.js +193 -149
- package/modules/cli/commands/graph-execution-module.js +214 -214
- package/modules/cli/commands/graph-module.js +175 -175
- package/modules/cli/commands/hierarchy-module.js +212 -212
- package/modules/cli/commands/i-18-n-module.js +56 -56
- package/modules/cli/commands/identity-providers-module.js +112 -112
- package/modules/cli/commands/inference-log-module.js +181 -181
- package/modules/cli/commands/infra-config-module.js +158 -158
- package/modules/cli/commands/infra-secrets-module.js +157 -157
- package/modules/cli/commands/integration-providers-module.js +112 -112
- package/modules/cli/commands/internal-secrets-module.js +151 -151
- package/modules/cli/commands/invites-module.js +178 -178
- package/modules/cli/commands/limits-module.js +362 -362
- package/modules/cli/commands/membership-types-module.js +6 -6
- package/modules/cli/commands/memberships-module.js +411 -411
- package/modules/cli/commands/merkle-store-module.js +160 -160
- package/modules/cli/commands/namespace-module.js +176 -176
- package/modules/cli/commands/notifications-module.js +250 -250
- package/modules/cli/commands/permissions-module.js +202 -202
- package/modules/cli/commands/phone-numbers-module.js +76 -76
- package/modules/cli/commands/plans-module.js +190 -190
- package/modules/cli/commands/principal-auth-module.js +174 -174
- package/modules/cli/commands/profiles-module.js +225 -225
- package/modules/cli/commands/rate-limit-meters-module.js +146 -146
- package/modules/cli/commands/rate-limits-module.js +66 -66
- package/modules/cli/commands/realtime-module.js +134 -134
- package/modules/cli/commands/relation-provision.js +228 -228
- package/modules/cli/commands/resolve-blueprint-field.js +4 -4
- package/modules/cli/commands/resolve-blueprint-table.js +4 -4
- package/modules/cli/commands/resource-module.js +250 -250
- package/modules/cli/commands/rls-module.js +114 -114
- package/modules/cli/commands/secure-table-provision.js +98 -98
- package/modules/cli/commands/session-secrets-module.js +26 -26
- package/modules/cli/commands/sessions-module.js +82 -82
- package/modules/cli/commands/storage-log-module.js +173 -173
- package/modules/cli/commands/storage-module.js +437 -437
- package/modules/cli/commands/transfer-log-module.js +173 -173
- package/modules/cli/commands/user-auth-module.js +266 -266
- package/modules/cli/commands/user-credentials-module.js +28 -28
- package/modules/cli/commands/user-settings-module.js +48 -48
- package/modules/cli/commands/user-state-module.js +6 -6
- package/modules/cli/commands/users-module.js +50 -50
- package/modules/cli/commands/webauthn-auth-module.js +150 -150
- package/modules/cli/commands/webauthn-credentials-module.js +74 -74
- package/modules/cli/commands.js +117 -117
- package/modules/cli/executor.d.ts +73 -73
- package/modules/orm/index.d.ts +126 -126
- package/modules/orm/index.js +106 -106
- package/modules/orm/input-types.d.ts +11482 -11468
- package/modules/orm/input-types.js +1 -1
- package/modules/orm/models/index.d.ts +53 -53
- package/modules/orm/models/index.js +108 -108
- package/modules/orm/mutation/index.d.ts +51 -51
- package/modules/orm/mutation/index.js +42 -42
- package/modules/orm/query/index.d.ts +3 -3
- package/modules/orm/query/index.js +8 -8
- package/objects/cli/commands/commit.js +73 -73
- package/objects/cli/commands/get-all-record.js +11 -11
- package/objects/cli/commands/object.js +34 -34
- package/objects/cli/commands/ref.js +31 -31
- package/objects/cli/commands/store.js +32 -32
- package/objects/cli/commands.js +7 -7
- package/objects/cli/executor.d.ts +7 -7
- package/objects/orm/index.d.ts +9 -9
- package/objects/orm/index.js +4 -4
- package/objects/orm/input-types.d.ts +384 -384
- package/objects/orm/models/index.d.ts +2 -2
- package/objects/orm/models/index.js +5 -5
- package/objects/orm/mutation/index.d.ts +9 -9
- package/objects/orm/mutation/index.js +12 -12
- package/package.json +4 -4
- package/usage/cli/commands/app-limit-cap.js +26 -26
- package/usage/cli/commands/app-limit-caps-default.js +19 -19
- package/usage/cli/commands/app-limit-credit-code-item.js +41 -41
- package/usage/cli/commands/app-limit-credit-code.js +26 -26
- package/usage/cli/commands/app-limit-credit-redemption.js +22 -22
- package/usage/cli/commands/app-limit-credit.js +26 -26
- package/usage/cli/commands/app-limit-default.js +19 -19
- package/usage/cli/commands/app-limit-event.js +86 -86
- package/usage/cli/commands/app-limit-warning.js +24 -24
- package/usage/cli/commands/app-limit.js +106 -106
- package/usage/cli/commands/org-limit-aggregate.js +110 -110
- package/usage/cli/commands/org-limit-cap.js +26 -26
- package/usage/cli/commands/org-limit-caps-default.js +19 -19
- package/usage/cli/commands/org-limit-credit.js +72 -72
- package/usage/cli/commands/org-limit-default.js +19 -19
- package/usage/cli/commands/org-limit-event.js +86 -86
- package/usage/cli/commands/org-limit-warning.js +46 -46
- package/usage/cli/commands/org-limit.js +123 -123
- package/usage/cli/commands.js +27 -27
- package/usage/cli/executor.d.ts +17 -17
- package/usage/orm/index.d.ts +29 -29
- package/usage/orm/index.js +24 -24
- package/usage/orm/input-types.d.ts +2049 -2049
- package/usage/orm/input-types.js +5 -5
- package/usage/orm/models/index.d.ts +12 -12
- package/usage/orm/models/index.js +25 -25
- package/usage/orm/mutation/index.d.ts +16 -16
- package/usage/orm/mutation/index.js +12 -12
|
@@ -9,42 +9,42 @@ const inquirerer_1 = require("inquirerer");
|
|
|
9
9
|
const executor_1 = require("../executor");
|
|
10
10
|
const utils_1 = require("../utils");
|
|
11
11
|
const fieldSchema = {
|
|
12
|
-
|
|
12
|
+
agentTableId: 'uuid',
|
|
13
|
+
agentTableName: 'string',
|
|
14
|
+
apiName: 'string',
|
|
13
15
|
databaseId: 'uuid',
|
|
16
|
+
defaultPermissions: 'string',
|
|
14
17
|
entityField: 'string',
|
|
15
|
-
|
|
18
|
+
entityTableId: 'uuid',
|
|
19
|
+
hasAgents: 'boolean',
|
|
20
|
+
hasPlans: 'boolean',
|
|
21
|
+
hasResources: 'boolean',
|
|
22
|
+
id: 'uuid',
|
|
23
|
+
messageTableId: 'uuid',
|
|
24
|
+
messageTableName: 'string',
|
|
25
|
+
personaTableId: 'uuid',
|
|
26
|
+
personaTableName: 'string',
|
|
27
|
+
planTableId: 'uuid',
|
|
28
|
+
planTableName: 'string',
|
|
29
|
+
policies: 'json',
|
|
30
|
+
prefix: 'string',
|
|
31
|
+
privateApiName: 'string',
|
|
16
32
|
privateSchemaId: 'uuid',
|
|
17
|
-
publicSchemaName: 'string',
|
|
18
33
|
privateSchemaName: 'string',
|
|
19
|
-
threadTableId: 'uuid',
|
|
20
|
-
messageTableId: 'uuid',
|
|
21
|
-
taskTableId: 'uuid',
|
|
22
34
|
promptsTableId: 'uuid',
|
|
23
|
-
planTableId: 'uuid',
|
|
24
|
-
agentTableId: 'uuid',
|
|
25
|
-
personaTableId: 'uuid',
|
|
26
|
-
resourceTableId: 'uuid',
|
|
27
|
-
threadTableName: 'string',
|
|
28
|
-
messageTableName: 'string',
|
|
29
|
-
taskTableName: 'string',
|
|
30
35
|
promptsTableName: 'string',
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
provisions: 'json',
|
|
37
|
+
publicSchemaName: 'string',
|
|
38
|
+
resourceTableId: 'uuid',
|
|
34
39
|
resourceTableName: 'string',
|
|
35
|
-
hasPlans: 'boolean',
|
|
36
|
-
hasResources: 'boolean',
|
|
37
|
-
hasAgents: 'boolean',
|
|
38
|
-
shared: 'boolean',
|
|
39
|
-
apiName: 'string',
|
|
40
|
-
privateApiName: 'string',
|
|
41
|
-
scope: 'string',
|
|
42
|
-
prefix: 'string',
|
|
43
|
-
entityTableId: 'uuid',
|
|
44
|
-
policies: 'json',
|
|
45
40
|
resources: 'json',
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
schemaId: 'uuid',
|
|
42
|
+
scope: 'string',
|
|
43
|
+
shared: 'boolean',
|
|
44
|
+
taskTableId: 'uuid',
|
|
45
|
+
taskTableName: 'string',
|
|
46
|
+
threadTableId: 'uuid',
|
|
47
|
+
threadTableName: 'string',
|
|
48
48
|
};
|
|
49
49
|
const usage = '\nagent-module <command>\n\nCommands:\n list List agentModule records\n find-first Find first matching agentModule record\n get Get a agentModule by ID\n create Create a new agentModule\n update Update an existing agentModule\n delete Delete a agentModule\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
50
50
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -88,42 +88,42 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
88
88
|
async function handleList(argv, _prompter) {
|
|
89
89
|
try {
|
|
90
90
|
const defaultSelect = {
|
|
91
|
-
|
|
91
|
+
agentTableId: true,
|
|
92
|
+
agentTableName: true,
|
|
93
|
+
apiName: true,
|
|
92
94
|
databaseId: true,
|
|
95
|
+
defaultPermissions: true,
|
|
93
96
|
entityField: true,
|
|
94
|
-
|
|
97
|
+
entityTableId: true,
|
|
98
|
+
hasAgents: true,
|
|
99
|
+
hasPlans: true,
|
|
100
|
+
hasResources: true,
|
|
101
|
+
id: true,
|
|
102
|
+
messageTableId: true,
|
|
103
|
+
messageTableName: true,
|
|
104
|
+
personaTableId: true,
|
|
105
|
+
personaTableName: true,
|
|
106
|
+
planTableId: true,
|
|
107
|
+
planTableName: true,
|
|
108
|
+
policies: true,
|
|
109
|
+
prefix: true,
|
|
110
|
+
privateApiName: true,
|
|
95
111
|
privateSchemaId: true,
|
|
96
|
-
publicSchemaName: true,
|
|
97
112
|
privateSchemaName: true,
|
|
98
|
-
threadTableId: true,
|
|
99
|
-
messageTableId: true,
|
|
100
|
-
taskTableId: true,
|
|
101
113
|
promptsTableId: true,
|
|
102
|
-
planTableId: true,
|
|
103
|
-
agentTableId: true,
|
|
104
|
-
personaTableId: true,
|
|
105
|
-
resourceTableId: true,
|
|
106
|
-
threadTableName: true,
|
|
107
|
-
messageTableName: true,
|
|
108
|
-
taskTableName: true,
|
|
109
114
|
promptsTableName: true,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
115
|
+
provisions: true,
|
|
116
|
+
publicSchemaName: true,
|
|
117
|
+
resourceTableId: true,
|
|
113
118
|
resourceTableName: true,
|
|
114
|
-
hasPlans: true,
|
|
115
|
-
hasResources: true,
|
|
116
|
-
hasAgents: true,
|
|
117
|
-
shared: true,
|
|
118
|
-
apiName: true,
|
|
119
|
-
privateApiName: true,
|
|
120
|
-
scope: true,
|
|
121
|
-
prefix: true,
|
|
122
|
-
entityTableId: true,
|
|
123
|
-
policies: true,
|
|
124
119
|
resources: true,
|
|
125
|
-
|
|
126
|
-
|
|
120
|
+
schemaId: true,
|
|
121
|
+
scope: true,
|
|
122
|
+
shared: true,
|
|
123
|
+
taskTableId: true,
|
|
124
|
+
taskTableName: true,
|
|
125
|
+
threadTableId: true,
|
|
126
|
+
threadTableName: true,
|
|
127
127
|
};
|
|
128
128
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
129
129
|
const client = (0, executor_1.getClient)();
|
|
@@ -141,42 +141,42 @@ async function handleList(argv, _prompter) {
|
|
|
141
141
|
async function handleFindFirst(argv, _prompter) {
|
|
142
142
|
try {
|
|
143
143
|
const defaultSelect = {
|
|
144
|
-
|
|
144
|
+
agentTableId: true,
|
|
145
|
+
agentTableName: true,
|
|
146
|
+
apiName: true,
|
|
145
147
|
databaseId: true,
|
|
148
|
+
defaultPermissions: true,
|
|
146
149
|
entityField: true,
|
|
147
|
-
|
|
150
|
+
entityTableId: true,
|
|
151
|
+
hasAgents: true,
|
|
152
|
+
hasPlans: true,
|
|
153
|
+
hasResources: true,
|
|
154
|
+
id: true,
|
|
155
|
+
messageTableId: true,
|
|
156
|
+
messageTableName: true,
|
|
157
|
+
personaTableId: true,
|
|
158
|
+
personaTableName: true,
|
|
159
|
+
planTableId: true,
|
|
160
|
+
planTableName: true,
|
|
161
|
+
policies: true,
|
|
162
|
+
prefix: true,
|
|
163
|
+
privateApiName: true,
|
|
148
164
|
privateSchemaId: true,
|
|
149
|
-
publicSchemaName: true,
|
|
150
165
|
privateSchemaName: true,
|
|
151
|
-
threadTableId: true,
|
|
152
|
-
messageTableId: true,
|
|
153
|
-
taskTableId: true,
|
|
154
166
|
promptsTableId: true,
|
|
155
|
-
planTableId: true,
|
|
156
|
-
agentTableId: true,
|
|
157
|
-
personaTableId: true,
|
|
158
|
-
resourceTableId: true,
|
|
159
|
-
threadTableName: true,
|
|
160
|
-
messageTableName: true,
|
|
161
|
-
taskTableName: true,
|
|
162
167
|
promptsTableName: true,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
168
|
+
provisions: true,
|
|
169
|
+
publicSchemaName: true,
|
|
170
|
+
resourceTableId: true,
|
|
166
171
|
resourceTableName: true,
|
|
167
|
-
hasPlans: true,
|
|
168
|
-
hasResources: true,
|
|
169
|
-
hasAgents: true,
|
|
170
|
-
shared: true,
|
|
171
|
-
apiName: true,
|
|
172
|
-
privateApiName: true,
|
|
173
|
-
scope: true,
|
|
174
|
-
prefix: true,
|
|
175
|
-
entityTableId: true,
|
|
176
|
-
policies: true,
|
|
177
172
|
resources: true,
|
|
178
|
-
|
|
179
|
-
|
|
173
|
+
schemaId: true,
|
|
174
|
+
scope: true,
|
|
175
|
+
shared: true,
|
|
176
|
+
taskTableId: true,
|
|
177
|
+
taskTableName: true,
|
|
178
|
+
threadTableId: true,
|
|
179
|
+
threadTableName: true,
|
|
180
180
|
};
|
|
181
181
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
182
182
|
const client = (0, executor_1.getClient)();
|
|
@@ -206,42 +206,42 @@ async function handleGet(argv, prompter) {
|
|
|
206
206
|
.findOne({
|
|
207
207
|
id: answers.id,
|
|
208
208
|
select: {
|
|
209
|
-
|
|
209
|
+
agentTableId: true,
|
|
210
|
+
agentTableName: true,
|
|
211
|
+
apiName: true,
|
|
210
212
|
databaseId: true,
|
|
213
|
+
defaultPermissions: true,
|
|
211
214
|
entityField: true,
|
|
212
|
-
|
|
215
|
+
entityTableId: true,
|
|
216
|
+
hasAgents: true,
|
|
217
|
+
hasPlans: true,
|
|
218
|
+
hasResources: true,
|
|
219
|
+
id: true,
|
|
220
|
+
messageTableId: true,
|
|
221
|
+
messageTableName: true,
|
|
222
|
+
personaTableId: true,
|
|
223
|
+
personaTableName: true,
|
|
224
|
+
planTableId: true,
|
|
225
|
+
planTableName: true,
|
|
226
|
+
policies: true,
|
|
227
|
+
prefix: true,
|
|
228
|
+
privateApiName: true,
|
|
213
229
|
privateSchemaId: true,
|
|
214
|
-
publicSchemaName: true,
|
|
215
230
|
privateSchemaName: true,
|
|
216
|
-
threadTableId: true,
|
|
217
|
-
messageTableId: true,
|
|
218
|
-
taskTableId: true,
|
|
219
231
|
promptsTableId: true,
|
|
220
|
-
planTableId: true,
|
|
221
|
-
agentTableId: true,
|
|
222
|
-
personaTableId: true,
|
|
223
|
-
resourceTableId: true,
|
|
224
|
-
threadTableName: true,
|
|
225
|
-
messageTableName: true,
|
|
226
|
-
taskTableName: true,
|
|
227
232
|
promptsTableName: true,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
233
|
+
provisions: true,
|
|
234
|
+
publicSchemaName: true,
|
|
235
|
+
resourceTableId: true,
|
|
231
236
|
resourceTableName: true,
|
|
232
|
-
hasPlans: true,
|
|
233
|
-
hasResources: true,
|
|
234
|
-
hasAgents: true,
|
|
235
|
-
shared: true,
|
|
236
|
-
apiName: true,
|
|
237
|
-
privateApiName: true,
|
|
238
|
-
scope: true,
|
|
239
|
-
prefix: true,
|
|
240
|
-
entityTableId: true,
|
|
241
|
-
policies: true,
|
|
242
237
|
resources: true,
|
|
243
|
-
|
|
244
|
-
|
|
238
|
+
schemaId: true,
|
|
239
|
+
scope: true,
|
|
240
|
+
shared: true,
|
|
241
|
+
taskTableId: true,
|
|
242
|
+
taskTableName: true,
|
|
243
|
+
threadTableId: true,
|
|
244
|
+
threadTableName: true,
|
|
245
245
|
},
|
|
246
246
|
})
|
|
247
247
|
.execute();
|
|
@@ -260,84 +260,84 @@ async function handleCreate(argv, prompter) {
|
|
|
260
260
|
const rawAnswers = await prompter.prompt(argv, [
|
|
261
261
|
{
|
|
262
262
|
type: 'text',
|
|
263
|
-
name: '
|
|
264
|
-
message: '
|
|
265
|
-
required:
|
|
263
|
+
name: 'agentTableId',
|
|
264
|
+
message: 'agentTableId',
|
|
265
|
+
required: false,
|
|
266
|
+
skipPrompt: true,
|
|
266
267
|
},
|
|
267
268
|
{
|
|
268
269
|
type: 'text',
|
|
269
|
-
name: '
|
|
270
|
-
message: '
|
|
270
|
+
name: 'agentTableName',
|
|
271
|
+
message: 'agentTableName',
|
|
271
272
|
required: false,
|
|
272
273
|
skipPrompt: true,
|
|
273
274
|
},
|
|
274
275
|
{
|
|
275
276
|
type: 'text',
|
|
276
|
-
name: '
|
|
277
|
-
message: '
|
|
277
|
+
name: 'apiName',
|
|
278
|
+
message: 'apiName',
|
|
278
279
|
required: false,
|
|
279
280
|
skipPrompt: true,
|
|
280
281
|
},
|
|
281
282
|
{
|
|
282
283
|
type: 'text',
|
|
283
|
-
name: '
|
|
284
|
-
message: '
|
|
285
|
-
required:
|
|
286
|
-
skipPrompt: true,
|
|
284
|
+
name: 'databaseId',
|
|
285
|
+
message: 'databaseId',
|
|
286
|
+
required: true,
|
|
287
287
|
},
|
|
288
288
|
{
|
|
289
289
|
type: 'text',
|
|
290
|
-
name: '
|
|
291
|
-
message: '
|
|
290
|
+
name: 'defaultPermissions',
|
|
291
|
+
message: 'defaultPermissions',
|
|
292
292
|
required: false,
|
|
293
293
|
skipPrompt: true,
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
296
|
type: 'text',
|
|
297
|
-
name: '
|
|
298
|
-
message: '
|
|
297
|
+
name: 'entityField',
|
|
298
|
+
message: 'entityField',
|
|
299
299
|
required: false,
|
|
300
300
|
skipPrompt: true,
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
303
|
type: 'text',
|
|
304
|
-
name: '
|
|
305
|
-
message: '
|
|
304
|
+
name: 'entityTableId',
|
|
305
|
+
message: 'entityTableId',
|
|
306
306
|
required: false,
|
|
307
307
|
skipPrompt: true,
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
|
-
type: '
|
|
311
|
-
name: '
|
|
312
|
-
message: '
|
|
310
|
+
type: 'boolean',
|
|
311
|
+
name: 'hasAgents',
|
|
312
|
+
message: 'hasAgents',
|
|
313
313
|
required: false,
|
|
314
314
|
skipPrompt: true,
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
|
-
type: '
|
|
318
|
-
name: '
|
|
319
|
-
message: '
|
|
317
|
+
type: 'boolean',
|
|
318
|
+
name: 'hasPlans',
|
|
319
|
+
message: 'hasPlans',
|
|
320
320
|
required: false,
|
|
321
321
|
skipPrompt: true,
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
|
-
type: '
|
|
325
|
-
name: '
|
|
326
|
-
message: '
|
|
324
|
+
type: 'boolean',
|
|
325
|
+
name: 'hasResources',
|
|
326
|
+
message: 'hasResources',
|
|
327
327
|
required: false,
|
|
328
328
|
skipPrompt: true,
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
331
|
type: 'text',
|
|
332
|
-
name: '
|
|
333
|
-
message: '
|
|
332
|
+
name: 'messageTableId',
|
|
333
|
+
message: 'messageTableId',
|
|
334
334
|
required: false,
|
|
335
335
|
skipPrompt: true,
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
type: 'text',
|
|
339
|
-
name: '
|
|
340
|
-
message: '
|
|
339
|
+
name: 'messageTableName',
|
|
340
|
+
message: 'messageTableName',
|
|
341
341
|
required: false,
|
|
342
342
|
skipPrompt: true,
|
|
343
343
|
},
|
|
@@ -350,155 +350,155 @@ async function handleCreate(argv, prompter) {
|
|
|
350
350
|
},
|
|
351
351
|
{
|
|
352
352
|
type: 'text',
|
|
353
|
-
name: '
|
|
354
|
-
message: '
|
|
353
|
+
name: 'personaTableName',
|
|
354
|
+
message: 'personaTableName',
|
|
355
355
|
required: false,
|
|
356
356
|
skipPrompt: true,
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
type: 'text',
|
|
360
|
-
name: '
|
|
361
|
-
message: '
|
|
360
|
+
name: 'planTableId',
|
|
361
|
+
message: 'planTableId',
|
|
362
362
|
required: false,
|
|
363
363
|
skipPrompt: true,
|
|
364
364
|
},
|
|
365
365
|
{
|
|
366
366
|
type: 'text',
|
|
367
|
-
name: '
|
|
368
|
-
message: '
|
|
367
|
+
name: 'planTableName',
|
|
368
|
+
message: 'planTableName',
|
|
369
369
|
required: false,
|
|
370
370
|
skipPrompt: true,
|
|
371
371
|
},
|
|
372
372
|
{
|
|
373
|
-
type: '
|
|
374
|
-
name: '
|
|
375
|
-
message: '
|
|
373
|
+
type: 'json',
|
|
374
|
+
name: 'policies',
|
|
375
|
+
message: 'policies',
|
|
376
376
|
required: false,
|
|
377
377
|
skipPrompt: true,
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
380
|
type: 'text',
|
|
381
|
-
name: '
|
|
382
|
-
message: '
|
|
381
|
+
name: 'prefix',
|
|
382
|
+
message: 'prefix',
|
|
383
383
|
required: false,
|
|
384
384
|
skipPrompt: true,
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
387
|
type: 'text',
|
|
388
|
-
name: '
|
|
389
|
-
message: '
|
|
388
|
+
name: 'privateApiName',
|
|
389
|
+
message: 'privateApiName',
|
|
390
390
|
required: false,
|
|
391
391
|
skipPrompt: true,
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
type: 'text',
|
|
395
|
-
name: '
|
|
396
|
-
message: '
|
|
395
|
+
name: 'privateSchemaId',
|
|
396
|
+
message: 'privateSchemaId',
|
|
397
397
|
required: false,
|
|
398
398
|
skipPrompt: true,
|
|
399
399
|
},
|
|
400
400
|
{
|
|
401
401
|
type: 'text',
|
|
402
|
-
name: '
|
|
403
|
-
message: '
|
|
402
|
+
name: 'privateSchemaName',
|
|
403
|
+
message: 'privateSchemaName',
|
|
404
404
|
required: false,
|
|
405
405
|
skipPrompt: true,
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
408
|
type: 'text',
|
|
409
|
-
name: '
|
|
410
|
-
message: '
|
|
409
|
+
name: 'promptsTableId',
|
|
410
|
+
message: 'promptsTableId',
|
|
411
411
|
required: false,
|
|
412
412
|
skipPrompt: true,
|
|
413
413
|
},
|
|
414
414
|
{
|
|
415
|
-
type: '
|
|
416
|
-
name: '
|
|
417
|
-
message: '
|
|
415
|
+
type: 'text',
|
|
416
|
+
name: 'promptsTableName',
|
|
417
|
+
message: 'promptsTableName',
|
|
418
418
|
required: false,
|
|
419
419
|
skipPrompt: true,
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
|
-
type: '
|
|
423
|
-
name: '
|
|
424
|
-
message: '
|
|
422
|
+
type: 'json',
|
|
423
|
+
name: 'provisions',
|
|
424
|
+
message: 'provisions',
|
|
425
425
|
required: false,
|
|
426
426
|
skipPrompt: true,
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
|
-
type: '
|
|
430
|
-
name: '
|
|
431
|
-
message: '
|
|
429
|
+
type: 'text',
|
|
430
|
+
name: 'publicSchemaName',
|
|
431
|
+
message: 'publicSchemaName',
|
|
432
432
|
required: false,
|
|
433
433
|
skipPrompt: true,
|
|
434
434
|
},
|
|
435
435
|
{
|
|
436
|
-
type: '
|
|
437
|
-
name: '
|
|
438
|
-
message: '
|
|
436
|
+
type: 'text',
|
|
437
|
+
name: 'resourceTableId',
|
|
438
|
+
message: 'resourceTableId',
|
|
439
439
|
required: false,
|
|
440
440
|
skipPrompt: true,
|
|
441
441
|
},
|
|
442
442
|
{
|
|
443
443
|
type: 'text',
|
|
444
|
-
name: '
|
|
445
|
-
message: '
|
|
444
|
+
name: 'resourceTableName',
|
|
445
|
+
message: 'resourceTableName',
|
|
446
446
|
required: false,
|
|
447
447
|
skipPrompt: true,
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
|
-
type: '
|
|
451
|
-
name: '
|
|
452
|
-
message: '
|
|
450
|
+
type: 'json',
|
|
451
|
+
name: 'resources',
|
|
452
|
+
message: 'resources',
|
|
453
453
|
required: false,
|
|
454
454
|
skipPrompt: true,
|
|
455
455
|
},
|
|
456
456
|
{
|
|
457
457
|
type: 'text',
|
|
458
|
-
name: '
|
|
459
|
-
message: '
|
|
458
|
+
name: 'schemaId',
|
|
459
|
+
message: 'schemaId',
|
|
460
460
|
required: false,
|
|
461
461
|
skipPrompt: true,
|
|
462
462
|
},
|
|
463
463
|
{
|
|
464
464
|
type: 'text',
|
|
465
|
-
name: '
|
|
466
|
-
message: '
|
|
465
|
+
name: 'scope',
|
|
466
|
+
message: 'scope',
|
|
467
467
|
required: false,
|
|
468
468
|
skipPrompt: true,
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
|
-
type: '
|
|
472
|
-
name: '
|
|
473
|
-
message: '
|
|
471
|
+
type: 'boolean',
|
|
472
|
+
name: 'shared',
|
|
473
|
+
message: 'shared',
|
|
474
474
|
required: false,
|
|
475
475
|
skipPrompt: true,
|
|
476
476
|
},
|
|
477
477
|
{
|
|
478
|
-
type: '
|
|
479
|
-
name: '
|
|
480
|
-
message: '
|
|
478
|
+
type: 'text',
|
|
479
|
+
name: 'taskTableId',
|
|
480
|
+
message: 'taskTableId',
|
|
481
481
|
required: false,
|
|
482
482
|
skipPrompt: true,
|
|
483
483
|
},
|
|
484
484
|
{
|
|
485
|
-
type: '
|
|
486
|
-
name: '
|
|
487
|
-
message: '
|
|
485
|
+
type: 'text',
|
|
486
|
+
name: 'taskTableName',
|
|
487
|
+
message: 'taskTableName',
|
|
488
488
|
required: false,
|
|
489
489
|
skipPrompt: true,
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
|
-
type: '
|
|
493
|
-
name: '
|
|
494
|
-
message: '
|
|
492
|
+
type: 'text',
|
|
493
|
+
name: 'threadTableId',
|
|
494
|
+
message: 'threadTableId',
|
|
495
495
|
required: false,
|
|
496
496
|
skipPrompt: true,
|
|
497
497
|
},
|
|
498
498
|
{
|
|
499
499
|
type: 'text',
|
|
500
|
-
name: '
|
|
501
|
-
message: '
|
|
500
|
+
name: 'threadTableName',
|
|
501
|
+
message: 'threadTableName',
|
|
502
502
|
required: false,
|
|
503
503
|
skipPrompt: true,
|
|
504
504
|
},
|
|
@@ -509,79 +509,79 @@ async function handleCreate(argv, prompter) {
|
|
|
509
509
|
const result = await client.agentModule
|
|
510
510
|
.create({
|
|
511
511
|
data: {
|
|
512
|
+
agentTableId: cleanedData.agentTableId,
|
|
513
|
+
agentTableName: cleanedData.agentTableName,
|
|
514
|
+
apiName: cleanedData.apiName,
|
|
512
515
|
databaseId: cleanedData.databaseId,
|
|
516
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
513
517
|
entityField: cleanedData.entityField,
|
|
514
|
-
|
|
518
|
+
entityTableId: cleanedData.entityTableId,
|
|
519
|
+
hasAgents: cleanedData.hasAgents,
|
|
520
|
+
hasPlans: cleanedData.hasPlans,
|
|
521
|
+
hasResources: cleanedData.hasResources,
|
|
522
|
+
messageTableId: cleanedData.messageTableId,
|
|
523
|
+
messageTableName: cleanedData.messageTableName,
|
|
524
|
+
personaTableId: cleanedData.personaTableId,
|
|
525
|
+
personaTableName: cleanedData.personaTableName,
|
|
526
|
+
planTableId: cleanedData.planTableId,
|
|
527
|
+
planTableName: cleanedData.planTableName,
|
|
528
|
+
policies: cleanedData.policies,
|
|
529
|
+
prefix: cleanedData.prefix,
|
|
530
|
+
privateApiName: cleanedData.privateApiName,
|
|
515
531
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
516
|
-
publicSchemaName: cleanedData.publicSchemaName,
|
|
517
532
|
privateSchemaName: cleanedData.privateSchemaName,
|
|
518
|
-
threadTableId: cleanedData.threadTableId,
|
|
519
|
-
messageTableId: cleanedData.messageTableId,
|
|
520
|
-
taskTableId: cleanedData.taskTableId,
|
|
521
533
|
promptsTableId: cleanedData.promptsTableId,
|
|
522
|
-
planTableId: cleanedData.planTableId,
|
|
523
|
-
agentTableId: cleanedData.agentTableId,
|
|
524
|
-
personaTableId: cleanedData.personaTableId,
|
|
525
|
-
resourceTableId: cleanedData.resourceTableId,
|
|
526
|
-
threadTableName: cleanedData.threadTableName,
|
|
527
|
-
messageTableName: cleanedData.messageTableName,
|
|
528
|
-
taskTableName: cleanedData.taskTableName,
|
|
529
534
|
promptsTableName: cleanedData.promptsTableName,
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
535
|
+
provisions: cleanedData.provisions,
|
|
536
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
537
|
+
resourceTableId: cleanedData.resourceTableId,
|
|
533
538
|
resourceTableName: cleanedData.resourceTableName,
|
|
534
|
-
hasPlans: cleanedData.hasPlans,
|
|
535
|
-
hasResources: cleanedData.hasResources,
|
|
536
|
-
hasAgents: cleanedData.hasAgents,
|
|
537
|
-
shared: cleanedData.shared,
|
|
538
|
-
apiName: cleanedData.apiName,
|
|
539
|
-
privateApiName: cleanedData.privateApiName,
|
|
540
|
-
scope: cleanedData.scope,
|
|
541
|
-
prefix: cleanedData.prefix,
|
|
542
|
-
entityTableId: cleanedData.entityTableId,
|
|
543
|
-
policies: cleanedData.policies,
|
|
544
539
|
resources: cleanedData.resources,
|
|
545
|
-
|
|
546
|
-
|
|
540
|
+
schemaId: cleanedData.schemaId,
|
|
541
|
+
scope: cleanedData.scope,
|
|
542
|
+
shared: cleanedData.shared,
|
|
543
|
+
taskTableId: cleanedData.taskTableId,
|
|
544
|
+
taskTableName: cleanedData.taskTableName,
|
|
545
|
+
threadTableId: cleanedData.threadTableId,
|
|
546
|
+
threadTableName: cleanedData.threadTableName,
|
|
547
547
|
},
|
|
548
548
|
select: {
|
|
549
|
-
|
|
549
|
+
agentTableId: true,
|
|
550
|
+
agentTableName: true,
|
|
551
|
+
apiName: true,
|
|
550
552
|
databaseId: true,
|
|
553
|
+
defaultPermissions: true,
|
|
551
554
|
entityField: true,
|
|
552
|
-
|
|
555
|
+
entityTableId: true,
|
|
556
|
+
hasAgents: true,
|
|
557
|
+
hasPlans: true,
|
|
558
|
+
hasResources: true,
|
|
559
|
+
id: true,
|
|
560
|
+
messageTableId: true,
|
|
561
|
+
messageTableName: true,
|
|
562
|
+
personaTableId: true,
|
|
563
|
+
personaTableName: true,
|
|
564
|
+
planTableId: true,
|
|
565
|
+
planTableName: true,
|
|
566
|
+
policies: true,
|
|
567
|
+
prefix: true,
|
|
568
|
+
privateApiName: true,
|
|
553
569
|
privateSchemaId: true,
|
|
554
|
-
publicSchemaName: true,
|
|
555
570
|
privateSchemaName: true,
|
|
556
|
-
threadTableId: true,
|
|
557
|
-
messageTableId: true,
|
|
558
|
-
taskTableId: true,
|
|
559
571
|
promptsTableId: true,
|
|
560
|
-
planTableId: true,
|
|
561
|
-
agentTableId: true,
|
|
562
|
-
personaTableId: true,
|
|
563
|
-
resourceTableId: true,
|
|
564
|
-
threadTableName: true,
|
|
565
|
-
messageTableName: true,
|
|
566
|
-
taskTableName: true,
|
|
567
572
|
promptsTableName: true,
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
573
|
+
provisions: true,
|
|
574
|
+
publicSchemaName: true,
|
|
575
|
+
resourceTableId: true,
|
|
571
576
|
resourceTableName: true,
|
|
572
|
-
hasPlans: true,
|
|
573
|
-
hasResources: true,
|
|
574
|
-
hasAgents: true,
|
|
575
|
-
shared: true,
|
|
576
|
-
apiName: true,
|
|
577
|
-
privateApiName: true,
|
|
578
|
-
scope: true,
|
|
579
|
-
prefix: true,
|
|
580
|
-
entityTableId: true,
|
|
581
|
-
policies: true,
|
|
582
577
|
resources: true,
|
|
583
|
-
|
|
584
|
-
|
|
578
|
+
schemaId: true,
|
|
579
|
+
scope: true,
|
|
580
|
+
shared: true,
|
|
581
|
+
taskTableId: true,
|
|
582
|
+
taskTableName: true,
|
|
583
|
+
threadTableId: true,
|
|
584
|
+
threadTableName: true,
|
|
585
585
|
},
|
|
586
586
|
})
|
|
587
587
|
.execute();
|
|
@@ -606,84 +606,84 @@ async function handleUpdate(argv, prompter) {
|
|
|
606
606
|
},
|
|
607
607
|
{
|
|
608
608
|
type: 'text',
|
|
609
|
-
name: '
|
|
610
|
-
message: '
|
|
609
|
+
name: 'agentTableId',
|
|
610
|
+
message: 'agentTableId',
|
|
611
611
|
required: false,
|
|
612
|
+
skipPrompt: true,
|
|
612
613
|
},
|
|
613
614
|
{
|
|
614
615
|
type: 'text',
|
|
615
|
-
name: '
|
|
616
|
-
message: '
|
|
616
|
+
name: 'agentTableName',
|
|
617
|
+
message: 'agentTableName',
|
|
617
618
|
required: false,
|
|
618
619
|
skipPrompt: true,
|
|
619
620
|
},
|
|
620
621
|
{
|
|
621
622
|
type: 'text',
|
|
622
|
-
name: '
|
|
623
|
-
message: '
|
|
623
|
+
name: 'apiName',
|
|
624
|
+
message: 'apiName',
|
|
624
625
|
required: false,
|
|
625
626
|
skipPrompt: true,
|
|
626
627
|
},
|
|
627
628
|
{
|
|
628
629
|
type: 'text',
|
|
629
|
-
name: '
|
|
630
|
-
message: '
|
|
630
|
+
name: 'databaseId',
|
|
631
|
+
message: 'databaseId',
|
|
631
632
|
required: false,
|
|
632
|
-
skipPrompt: true,
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
635
|
type: 'text',
|
|
636
|
-
name: '
|
|
637
|
-
message: '
|
|
636
|
+
name: 'defaultPermissions',
|
|
637
|
+
message: 'defaultPermissions',
|
|
638
638
|
required: false,
|
|
639
639
|
skipPrompt: true,
|
|
640
640
|
},
|
|
641
641
|
{
|
|
642
642
|
type: 'text',
|
|
643
|
-
name: '
|
|
644
|
-
message: '
|
|
643
|
+
name: 'entityField',
|
|
644
|
+
message: 'entityField',
|
|
645
645
|
required: false,
|
|
646
646
|
skipPrompt: true,
|
|
647
647
|
},
|
|
648
648
|
{
|
|
649
649
|
type: 'text',
|
|
650
|
-
name: '
|
|
651
|
-
message: '
|
|
650
|
+
name: 'entityTableId',
|
|
651
|
+
message: 'entityTableId',
|
|
652
652
|
required: false,
|
|
653
653
|
skipPrompt: true,
|
|
654
654
|
},
|
|
655
655
|
{
|
|
656
|
-
type: '
|
|
657
|
-
name: '
|
|
658
|
-
message: '
|
|
656
|
+
type: 'boolean',
|
|
657
|
+
name: 'hasAgents',
|
|
658
|
+
message: 'hasAgents',
|
|
659
659
|
required: false,
|
|
660
660
|
skipPrompt: true,
|
|
661
661
|
},
|
|
662
662
|
{
|
|
663
|
-
type: '
|
|
664
|
-
name: '
|
|
665
|
-
message: '
|
|
663
|
+
type: 'boolean',
|
|
664
|
+
name: 'hasPlans',
|
|
665
|
+
message: 'hasPlans',
|
|
666
666
|
required: false,
|
|
667
667
|
skipPrompt: true,
|
|
668
668
|
},
|
|
669
669
|
{
|
|
670
|
-
type: '
|
|
671
|
-
name: '
|
|
672
|
-
message: '
|
|
670
|
+
type: 'boolean',
|
|
671
|
+
name: 'hasResources',
|
|
672
|
+
message: 'hasResources',
|
|
673
673
|
required: false,
|
|
674
674
|
skipPrompt: true,
|
|
675
675
|
},
|
|
676
676
|
{
|
|
677
677
|
type: 'text',
|
|
678
|
-
name: '
|
|
679
|
-
message: '
|
|
678
|
+
name: 'messageTableId',
|
|
679
|
+
message: 'messageTableId',
|
|
680
680
|
required: false,
|
|
681
681
|
skipPrompt: true,
|
|
682
682
|
},
|
|
683
683
|
{
|
|
684
684
|
type: 'text',
|
|
685
|
-
name: '
|
|
686
|
-
message: '
|
|
685
|
+
name: 'messageTableName',
|
|
686
|
+
message: 'messageTableName',
|
|
687
687
|
required: false,
|
|
688
688
|
skipPrompt: true,
|
|
689
689
|
},
|
|
@@ -696,155 +696,155 @@ async function handleUpdate(argv, prompter) {
|
|
|
696
696
|
},
|
|
697
697
|
{
|
|
698
698
|
type: 'text',
|
|
699
|
-
name: '
|
|
700
|
-
message: '
|
|
699
|
+
name: 'personaTableName',
|
|
700
|
+
message: 'personaTableName',
|
|
701
701
|
required: false,
|
|
702
702
|
skipPrompt: true,
|
|
703
703
|
},
|
|
704
704
|
{
|
|
705
705
|
type: 'text',
|
|
706
|
-
name: '
|
|
707
|
-
message: '
|
|
706
|
+
name: 'planTableId',
|
|
707
|
+
message: 'planTableId',
|
|
708
708
|
required: false,
|
|
709
709
|
skipPrompt: true,
|
|
710
710
|
},
|
|
711
711
|
{
|
|
712
712
|
type: 'text',
|
|
713
|
-
name: '
|
|
714
|
-
message: '
|
|
713
|
+
name: 'planTableName',
|
|
714
|
+
message: 'planTableName',
|
|
715
715
|
required: false,
|
|
716
716
|
skipPrompt: true,
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
|
-
type: '
|
|
720
|
-
name: '
|
|
721
|
-
message: '
|
|
719
|
+
type: 'json',
|
|
720
|
+
name: 'policies',
|
|
721
|
+
message: 'policies',
|
|
722
722
|
required: false,
|
|
723
723
|
skipPrompt: true,
|
|
724
724
|
},
|
|
725
725
|
{
|
|
726
726
|
type: 'text',
|
|
727
|
-
name: '
|
|
728
|
-
message: '
|
|
727
|
+
name: 'prefix',
|
|
728
|
+
message: 'prefix',
|
|
729
729
|
required: false,
|
|
730
730
|
skipPrompt: true,
|
|
731
731
|
},
|
|
732
732
|
{
|
|
733
733
|
type: 'text',
|
|
734
|
-
name: '
|
|
735
|
-
message: '
|
|
734
|
+
name: 'privateApiName',
|
|
735
|
+
message: 'privateApiName',
|
|
736
736
|
required: false,
|
|
737
737
|
skipPrompt: true,
|
|
738
738
|
},
|
|
739
739
|
{
|
|
740
740
|
type: 'text',
|
|
741
|
-
name: '
|
|
742
|
-
message: '
|
|
741
|
+
name: 'privateSchemaId',
|
|
742
|
+
message: 'privateSchemaId',
|
|
743
743
|
required: false,
|
|
744
744
|
skipPrompt: true,
|
|
745
745
|
},
|
|
746
746
|
{
|
|
747
747
|
type: 'text',
|
|
748
|
-
name: '
|
|
749
|
-
message: '
|
|
748
|
+
name: 'privateSchemaName',
|
|
749
|
+
message: 'privateSchemaName',
|
|
750
750
|
required: false,
|
|
751
751
|
skipPrompt: true,
|
|
752
752
|
},
|
|
753
753
|
{
|
|
754
754
|
type: 'text',
|
|
755
|
-
name: '
|
|
756
|
-
message: '
|
|
755
|
+
name: 'promptsTableId',
|
|
756
|
+
message: 'promptsTableId',
|
|
757
757
|
required: false,
|
|
758
758
|
skipPrompt: true,
|
|
759
759
|
},
|
|
760
760
|
{
|
|
761
|
-
type: '
|
|
762
|
-
name: '
|
|
763
|
-
message: '
|
|
761
|
+
type: 'text',
|
|
762
|
+
name: 'promptsTableName',
|
|
763
|
+
message: 'promptsTableName',
|
|
764
764
|
required: false,
|
|
765
765
|
skipPrompt: true,
|
|
766
766
|
},
|
|
767
767
|
{
|
|
768
|
-
type: '
|
|
769
|
-
name: '
|
|
770
|
-
message: '
|
|
768
|
+
type: 'json',
|
|
769
|
+
name: 'provisions',
|
|
770
|
+
message: 'provisions',
|
|
771
771
|
required: false,
|
|
772
772
|
skipPrompt: true,
|
|
773
773
|
},
|
|
774
774
|
{
|
|
775
|
-
type: '
|
|
776
|
-
name: '
|
|
777
|
-
message: '
|
|
775
|
+
type: 'text',
|
|
776
|
+
name: 'publicSchemaName',
|
|
777
|
+
message: 'publicSchemaName',
|
|
778
778
|
required: false,
|
|
779
779
|
skipPrompt: true,
|
|
780
780
|
},
|
|
781
781
|
{
|
|
782
|
-
type: '
|
|
783
|
-
name: '
|
|
784
|
-
message: '
|
|
782
|
+
type: 'text',
|
|
783
|
+
name: 'resourceTableId',
|
|
784
|
+
message: 'resourceTableId',
|
|
785
785
|
required: false,
|
|
786
786
|
skipPrompt: true,
|
|
787
787
|
},
|
|
788
788
|
{
|
|
789
789
|
type: 'text',
|
|
790
|
-
name: '
|
|
791
|
-
message: '
|
|
790
|
+
name: 'resourceTableName',
|
|
791
|
+
message: 'resourceTableName',
|
|
792
792
|
required: false,
|
|
793
793
|
skipPrompt: true,
|
|
794
794
|
},
|
|
795
795
|
{
|
|
796
|
-
type: '
|
|
797
|
-
name: '
|
|
798
|
-
message: '
|
|
796
|
+
type: 'json',
|
|
797
|
+
name: 'resources',
|
|
798
|
+
message: 'resources',
|
|
799
799
|
required: false,
|
|
800
800
|
skipPrompt: true,
|
|
801
801
|
},
|
|
802
802
|
{
|
|
803
803
|
type: 'text',
|
|
804
|
-
name: '
|
|
805
|
-
message: '
|
|
804
|
+
name: 'schemaId',
|
|
805
|
+
message: 'schemaId',
|
|
806
806
|
required: false,
|
|
807
807
|
skipPrompt: true,
|
|
808
808
|
},
|
|
809
809
|
{
|
|
810
810
|
type: 'text',
|
|
811
|
-
name: '
|
|
812
|
-
message: '
|
|
811
|
+
name: 'scope',
|
|
812
|
+
message: 'scope',
|
|
813
813
|
required: false,
|
|
814
814
|
skipPrompt: true,
|
|
815
815
|
},
|
|
816
816
|
{
|
|
817
|
-
type: '
|
|
818
|
-
name: '
|
|
819
|
-
message: '
|
|
817
|
+
type: 'boolean',
|
|
818
|
+
name: 'shared',
|
|
819
|
+
message: 'shared',
|
|
820
820
|
required: false,
|
|
821
821
|
skipPrompt: true,
|
|
822
822
|
},
|
|
823
823
|
{
|
|
824
|
-
type: '
|
|
825
|
-
name: '
|
|
826
|
-
message: '
|
|
824
|
+
type: 'text',
|
|
825
|
+
name: 'taskTableId',
|
|
826
|
+
message: 'taskTableId',
|
|
827
827
|
required: false,
|
|
828
828
|
skipPrompt: true,
|
|
829
829
|
},
|
|
830
830
|
{
|
|
831
|
-
type: '
|
|
832
|
-
name: '
|
|
833
|
-
message: '
|
|
831
|
+
type: 'text',
|
|
832
|
+
name: 'taskTableName',
|
|
833
|
+
message: 'taskTableName',
|
|
834
834
|
required: false,
|
|
835
835
|
skipPrompt: true,
|
|
836
836
|
},
|
|
837
837
|
{
|
|
838
|
-
type: '
|
|
839
|
-
name: '
|
|
840
|
-
message: '
|
|
838
|
+
type: 'text',
|
|
839
|
+
name: 'threadTableId',
|
|
840
|
+
message: 'threadTableId',
|
|
841
841
|
required: false,
|
|
842
842
|
skipPrompt: true,
|
|
843
843
|
},
|
|
844
844
|
{
|
|
845
845
|
type: 'text',
|
|
846
|
-
name: '
|
|
847
|
-
message: '
|
|
846
|
+
name: 'threadTableName',
|
|
847
|
+
message: 'threadTableName',
|
|
848
848
|
required: false,
|
|
849
849
|
skipPrompt: true,
|
|
850
850
|
},
|
|
@@ -858,79 +858,79 @@ async function handleUpdate(argv, prompter) {
|
|
|
858
858
|
id: answers.id,
|
|
859
859
|
},
|
|
860
860
|
data: {
|
|
861
|
+
agentTableId: cleanedData.agentTableId,
|
|
862
|
+
agentTableName: cleanedData.agentTableName,
|
|
863
|
+
apiName: cleanedData.apiName,
|
|
861
864
|
databaseId: cleanedData.databaseId,
|
|
865
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
862
866
|
entityField: cleanedData.entityField,
|
|
863
|
-
|
|
867
|
+
entityTableId: cleanedData.entityTableId,
|
|
868
|
+
hasAgents: cleanedData.hasAgents,
|
|
869
|
+
hasPlans: cleanedData.hasPlans,
|
|
870
|
+
hasResources: cleanedData.hasResources,
|
|
871
|
+
messageTableId: cleanedData.messageTableId,
|
|
872
|
+
messageTableName: cleanedData.messageTableName,
|
|
873
|
+
personaTableId: cleanedData.personaTableId,
|
|
874
|
+
personaTableName: cleanedData.personaTableName,
|
|
875
|
+
planTableId: cleanedData.planTableId,
|
|
876
|
+
planTableName: cleanedData.planTableName,
|
|
877
|
+
policies: cleanedData.policies,
|
|
878
|
+
prefix: cleanedData.prefix,
|
|
879
|
+
privateApiName: cleanedData.privateApiName,
|
|
864
880
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
865
|
-
publicSchemaName: cleanedData.publicSchemaName,
|
|
866
881
|
privateSchemaName: cleanedData.privateSchemaName,
|
|
867
|
-
threadTableId: cleanedData.threadTableId,
|
|
868
|
-
messageTableId: cleanedData.messageTableId,
|
|
869
|
-
taskTableId: cleanedData.taskTableId,
|
|
870
882
|
promptsTableId: cleanedData.promptsTableId,
|
|
871
|
-
planTableId: cleanedData.planTableId,
|
|
872
|
-
agentTableId: cleanedData.agentTableId,
|
|
873
|
-
personaTableId: cleanedData.personaTableId,
|
|
874
|
-
resourceTableId: cleanedData.resourceTableId,
|
|
875
|
-
threadTableName: cleanedData.threadTableName,
|
|
876
|
-
messageTableName: cleanedData.messageTableName,
|
|
877
|
-
taskTableName: cleanedData.taskTableName,
|
|
878
883
|
promptsTableName: cleanedData.promptsTableName,
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
884
|
+
provisions: cleanedData.provisions,
|
|
885
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
886
|
+
resourceTableId: cleanedData.resourceTableId,
|
|
882
887
|
resourceTableName: cleanedData.resourceTableName,
|
|
883
|
-
hasPlans: cleanedData.hasPlans,
|
|
884
|
-
hasResources: cleanedData.hasResources,
|
|
885
|
-
hasAgents: cleanedData.hasAgents,
|
|
886
|
-
shared: cleanedData.shared,
|
|
887
|
-
apiName: cleanedData.apiName,
|
|
888
|
-
privateApiName: cleanedData.privateApiName,
|
|
889
|
-
scope: cleanedData.scope,
|
|
890
|
-
prefix: cleanedData.prefix,
|
|
891
|
-
entityTableId: cleanedData.entityTableId,
|
|
892
|
-
policies: cleanedData.policies,
|
|
893
888
|
resources: cleanedData.resources,
|
|
894
|
-
|
|
895
|
-
|
|
889
|
+
schemaId: cleanedData.schemaId,
|
|
890
|
+
scope: cleanedData.scope,
|
|
891
|
+
shared: cleanedData.shared,
|
|
892
|
+
taskTableId: cleanedData.taskTableId,
|
|
893
|
+
taskTableName: cleanedData.taskTableName,
|
|
894
|
+
threadTableId: cleanedData.threadTableId,
|
|
895
|
+
threadTableName: cleanedData.threadTableName,
|
|
896
896
|
},
|
|
897
897
|
select: {
|
|
898
|
-
|
|
898
|
+
agentTableId: true,
|
|
899
|
+
agentTableName: true,
|
|
900
|
+
apiName: true,
|
|
899
901
|
databaseId: true,
|
|
902
|
+
defaultPermissions: true,
|
|
900
903
|
entityField: true,
|
|
901
|
-
|
|
904
|
+
entityTableId: true,
|
|
905
|
+
hasAgents: true,
|
|
906
|
+
hasPlans: true,
|
|
907
|
+
hasResources: true,
|
|
908
|
+
id: true,
|
|
909
|
+
messageTableId: true,
|
|
910
|
+
messageTableName: true,
|
|
911
|
+
personaTableId: true,
|
|
912
|
+
personaTableName: true,
|
|
913
|
+
planTableId: true,
|
|
914
|
+
planTableName: true,
|
|
915
|
+
policies: true,
|
|
916
|
+
prefix: true,
|
|
917
|
+
privateApiName: true,
|
|
902
918
|
privateSchemaId: true,
|
|
903
|
-
publicSchemaName: true,
|
|
904
919
|
privateSchemaName: true,
|
|
905
|
-
threadTableId: true,
|
|
906
|
-
messageTableId: true,
|
|
907
|
-
taskTableId: true,
|
|
908
920
|
promptsTableId: true,
|
|
909
|
-
planTableId: true,
|
|
910
|
-
agentTableId: true,
|
|
911
|
-
personaTableId: true,
|
|
912
|
-
resourceTableId: true,
|
|
913
|
-
threadTableName: true,
|
|
914
|
-
messageTableName: true,
|
|
915
|
-
taskTableName: true,
|
|
916
921
|
promptsTableName: true,
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
922
|
+
provisions: true,
|
|
923
|
+
publicSchemaName: true,
|
|
924
|
+
resourceTableId: true,
|
|
920
925
|
resourceTableName: true,
|
|
921
|
-
hasPlans: true,
|
|
922
|
-
hasResources: true,
|
|
923
|
-
hasAgents: true,
|
|
924
|
-
shared: true,
|
|
925
|
-
apiName: true,
|
|
926
|
-
privateApiName: true,
|
|
927
|
-
scope: true,
|
|
928
|
-
prefix: true,
|
|
929
|
-
entityTableId: true,
|
|
930
|
-
policies: true,
|
|
931
926
|
resources: true,
|
|
932
|
-
|
|
933
|
-
|
|
927
|
+
schemaId: true,
|
|
928
|
+
scope: true,
|
|
929
|
+
shared: true,
|
|
930
|
+
taskTableId: true,
|
|
931
|
+
taskTableName: true,
|
|
932
|
+
threadTableId: true,
|
|
933
|
+
threadTableName: true,
|
|
934
934
|
},
|
|
935
935
|
})
|
|
936
936
|
.execute();
|