@constructive-sdk/cli 0.30.3 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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
|
@@ -7,42 +7,42 @@ import { extractFirst } from 'inquirerer';
|
|
|
7
7
|
import { getClient } from '../executor';
|
|
8
8
|
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../utils';
|
|
9
9
|
const fieldSchema = {
|
|
10
|
-
|
|
10
|
+
agentTableId: 'uuid',
|
|
11
|
+
agentTableName: 'string',
|
|
12
|
+
apiName: 'string',
|
|
11
13
|
databaseId: 'uuid',
|
|
14
|
+
defaultPermissions: 'string',
|
|
12
15
|
entityField: 'string',
|
|
13
|
-
|
|
16
|
+
entityTableId: 'uuid',
|
|
17
|
+
hasAgents: 'boolean',
|
|
18
|
+
hasPlans: 'boolean',
|
|
19
|
+
hasResources: 'boolean',
|
|
20
|
+
id: 'uuid',
|
|
21
|
+
messageTableId: 'uuid',
|
|
22
|
+
messageTableName: 'string',
|
|
23
|
+
personaTableId: 'uuid',
|
|
24
|
+
personaTableName: 'string',
|
|
25
|
+
planTableId: 'uuid',
|
|
26
|
+
planTableName: 'string',
|
|
27
|
+
policies: 'json',
|
|
28
|
+
prefix: 'string',
|
|
29
|
+
privateApiName: 'string',
|
|
14
30
|
privateSchemaId: 'uuid',
|
|
15
|
-
publicSchemaName: 'string',
|
|
16
31
|
privateSchemaName: 'string',
|
|
17
|
-
threadTableId: 'uuid',
|
|
18
|
-
messageTableId: 'uuid',
|
|
19
|
-
taskTableId: 'uuid',
|
|
20
32
|
promptsTableId: 'uuid',
|
|
21
|
-
planTableId: 'uuid',
|
|
22
|
-
agentTableId: 'uuid',
|
|
23
|
-
personaTableId: 'uuid',
|
|
24
|
-
resourceTableId: 'uuid',
|
|
25
|
-
threadTableName: 'string',
|
|
26
|
-
messageTableName: 'string',
|
|
27
|
-
taskTableName: 'string',
|
|
28
33
|
promptsTableName: 'string',
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
provisions: 'json',
|
|
35
|
+
publicSchemaName: 'string',
|
|
36
|
+
resourceTableId: 'uuid',
|
|
32
37
|
resourceTableName: 'string',
|
|
33
|
-
hasPlans: 'boolean',
|
|
34
|
-
hasResources: 'boolean',
|
|
35
|
-
hasAgents: 'boolean',
|
|
36
|
-
shared: 'boolean',
|
|
37
|
-
apiName: 'string',
|
|
38
|
-
privateApiName: 'string',
|
|
39
|
-
scope: 'string',
|
|
40
|
-
prefix: 'string',
|
|
41
|
-
entityTableId: 'uuid',
|
|
42
|
-
policies: 'json',
|
|
43
38
|
resources: 'json',
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
schemaId: 'uuid',
|
|
40
|
+
scope: 'string',
|
|
41
|
+
shared: 'boolean',
|
|
42
|
+
taskTableId: 'uuid',
|
|
43
|
+
taskTableName: 'string',
|
|
44
|
+
threadTableId: 'uuid',
|
|
45
|
+
threadTableName: 'string',
|
|
46
46
|
};
|
|
47
47
|
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';
|
|
48
48
|
export default async (argv, prompter, _options) => {
|
|
@@ -86,42 +86,42 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
86
86
|
async function handleList(argv, _prompter) {
|
|
87
87
|
try {
|
|
88
88
|
const defaultSelect = {
|
|
89
|
-
|
|
89
|
+
agentTableId: true,
|
|
90
|
+
agentTableName: true,
|
|
91
|
+
apiName: true,
|
|
90
92
|
databaseId: true,
|
|
93
|
+
defaultPermissions: true,
|
|
91
94
|
entityField: true,
|
|
92
|
-
|
|
95
|
+
entityTableId: true,
|
|
96
|
+
hasAgents: true,
|
|
97
|
+
hasPlans: true,
|
|
98
|
+
hasResources: true,
|
|
99
|
+
id: true,
|
|
100
|
+
messageTableId: true,
|
|
101
|
+
messageTableName: true,
|
|
102
|
+
personaTableId: true,
|
|
103
|
+
personaTableName: true,
|
|
104
|
+
planTableId: true,
|
|
105
|
+
planTableName: true,
|
|
106
|
+
policies: true,
|
|
107
|
+
prefix: true,
|
|
108
|
+
privateApiName: true,
|
|
93
109
|
privateSchemaId: true,
|
|
94
|
-
publicSchemaName: true,
|
|
95
110
|
privateSchemaName: true,
|
|
96
|
-
threadTableId: true,
|
|
97
|
-
messageTableId: true,
|
|
98
|
-
taskTableId: true,
|
|
99
111
|
promptsTableId: true,
|
|
100
|
-
planTableId: true,
|
|
101
|
-
agentTableId: true,
|
|
102
|
-
personaTableId: true,
|
|
103
|
-
resourceTableId: true,
|
|
104
|
-
threadTableName: true,
|
|
105
|
-
messageTableName: true,
|
|
106
|
-
taskTableName: true,
|
|
107
112
|
promptsTableName: true,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
113
|
+
provisions: true,
|
|
114
|
+
publicSchemaName: true,
|
|
115
|
+
resourceTableId: true,
|
|
111
116
|
resourceTableName: true,
|
|
112
|
-
hasPlans: true,
|
|
113
|
-
hasResources: true,
|
|
114
|
-
hasAgents: true,
|
|
115
|
-
shared: true,
|
|
116
|
-
apiName: true,
|
|
117
|
-
privateApiName: true,
|
|
118
|
-
scope: true,
|
|
119
|
-
prefix: true,
|
|
120
|
-
entityTableId: true,
|
|
121
|
-
policies: true,
|
|
122
117
|
resources: true,
|
|
123
|
-
|
|
124
|
-
|
|
118
|
+
schemaId: true,
|
|
119
|
+
scope: true,
|
|
120
|
+
shared: true,
|
|
121
|
+
taskTableId: true,
|
|
122
|
+
taskTableName: true,
|
|
123
|
+
threadTableId: true,
|
|
124
|
+
threadTableName: true,
|
|
125
125
|
};
|
|
126
126
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
127
127
|
const client = getClient();
|
|
@@ -139,42 +139,42 @@ async function handleList(argv, _prompter) {
|
|
|
139
139
|
async function handleFindFirst(argv, _prompter) {
|
|
140
140
|
try {
|
|
141
141
|
const defaultSelect = {
|
|
142
|
-
|
|
142
|
+
agentTableId: true,
|
|
143
|
+
agentTableName: true,
|
|
144
|
+
apiName: true,
|
|
143
145
|
databaseId: true,
|
|
146
|
+
defaultPermissions: true,
|
|
144
147
|
entityField: true,
|
|
145
|
-
|
|
148
|
+
entityTableId: true,
|
|
149
|
+
hasAgents: true,
|
|
150
|
+
hasPlans: true,
|
|
151
|
+
hasResources: true,
|
|
152
|
+
id: true,
|
|
153
|
+
messageTableId: true,
|
|
154
|
+
messageTableName: true,
|
|
155
|
+
personaTableId: true,
|
|
156
|
+
personaTableName: true,
|
|
157
|
+
planTableId: true,
|
|
158
|
+
planTableName: true,
|
|
159
|
+
policies: true,
|
|
160
|
+
prefix: true,
|
|
161
|
+
privateApiName: true,
|
|
146
162
|
privateSchemaId: true,
|
|
147
|
-
publicSchemaName: true,
|
|
148
163
|
privateSchemaName: true,
|
|
149
|
-
threadTableId: true,
|
|
150
|
-
messageTableId: true,
|
|
151
|
-
taskTableId: true,
|
|
152
164
|
promptsTableId: true,
|
|
153
|
-
planTableId: true,
|
|
154
|
-
agentTableId: true,
|
|
155
|
-
personaTableId: true,
|
|
156
|
-
resourceTableId: true,
|
|
157
|
-
threadTableName: true,
|
|
158
|
-
messageTableName: true,
|
|
159
|
-
taskTableName: true,
|
|
160
165
|
promptsTableName: true,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
166
|
+
provisions: true,
|
|
167
|
+
publicSchemaName: true,
|
|
168
|
+
resourceTableId: true,
|
|
164
169
|
resourceTableName: true,
|
|
165
|
-
hasPlans: true,
|
|
166
|
-
hasResources: true,
|
|
167
|
-
hasAgents: true,
|
|
168
|
-
shared: true,
|
|
169
|
-
apiName: true,
|
|
170
|
-
privateApiName: true,
|
|
171
|
-
scope: true,
|
|
172
|
-
prefix: true,
|
|
173
|
-
entityTableId: true,
|
|
174
|
-
policies: true,
|
|
175
170
|
resources: true,
|
|
176
|
-
|
|
177
|
-
|
|
171
|
+
schemaId: true,
|
|
172
|
+
scope: true,
|
|
173
|
+
shared: true,
|
|
174
|
+
taskTableId: true,
|
|
175
|
+
taskTableName: true,
|
|
176
|
+
threadTableId: true,
|
|
177
|
+
threadTableName: true,
|
|
178
178
|
};
|
|
179
179
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
180
180
|
const client = getClient();
|
|
@@ -204,42 +204,42 @@ async function handleGet(argv, prompter) {
|
|
|
204
204
|
.findOne({
|
|
205
205
|
id: answers.id,
|
|
206
206
|
select: {
|
|
207
|
-
|
|
207
|
+
agentTableId: true,
|
|
208
|
+
agentTableName: true,
|
|
209
|
+
apiName: true,
|
|
208
210
|
databaseId: true,
|
|
211
|
+
defaultPermissions: true,
|
|
209
212
|
entityField: true,
|
|
210
|
-
|
|
213
|
+
entityTableId: true,
|
|
214
|
+
hasAgents: true,
|
|
215
|
+
hasPlans: true,
|
|
216
|
+
hasResources: true,
|
|
217
|
+
id: true,
|
|
218
|
+
messageTableId: true,
|
|
219
|
+
messageTableName: true,
|
|
220
|
+
personaTableId: true,
|
|
221
|
+
personaTableName: true,
|
|
222
|
+
planTableId: true,
|
|
223
|
+
planTableName: true,
|
|
224
|
+
policies: true,
|
|
225
|
+
prefix: true,
|
|
226
|
+
privateApiName: true,
|
|
211
227
|
privateSchemaId: true,
|
|
212
|
-
publicSchemaName: true,
|
|
213
228
|
privateSchemaName: true,
|
|
214
|
-
threadTableId: true,
|
|
215
|
-
messageTableId: true,
|
|
216
|
-
taskTableId: true,
|
|
217
229
|
promptsTableId: true,
|
|
218
|
-
planTableId: true,
|
|
219
|
-
agentTableId: true,
|
|
220
|
-
personaTableId: true,
|
|
221
|
-
resourceTableId: true,
|
|
222
|
-
threadTableName: true,
|
|
223
|
-
messageTableName: true,
|
|
224
|
-
taskTableName: true,
|
|
225
230
|
promptsTableName: true,
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
231
|
+
provisions: true,
|
|
232
|
+
publicSchemaName: true,
|
|
233
|
+
resourceTableId: true,
|
|
229
234
|
resourceTableName: true,
|
|
230
|
-
hasPlans: true,
|
|
231
|
-
hasResources: true,
|
|
232
|
-
hasAgents: true,
|
|
233
|
-
shared: true,
|
|
234
|
-
apiName: true,
|
|
235
|
-
privateApiName: true,
|
|
236
|
-
scope: true,
|
|
237
|
-
prefix: true,
|
|
238
|
-
entityTableId: true,
|
|
239
|
-
policies: true,
|
|
240
235
|
resources: true,
|
|
241
|
-
|
|
242
|
-
|
|
236
|
+
schemaId: true,
|
|
237
|
+
scope: true,
|
|
238
|
+
shared: true,
|
|
239
|
+
taskTableId: true,
|
|
240
|
+
taskTableName: true,
|
|
241
|
+
threadTableId: true,
|
|
242
|
+
threadTableName: true,
|
|
243
243
|
},
|
|
244
244
|
})
|
|
245
245
|
.execute();
|
|
@@ -258,84 +258,84 @@ async function handleCreate(argv, prompter) {
|
|
|
258
258
|
const rawAnswers = await prompter.prompt(argv, [
|
|
259
259
|
{
|
|
260
260
|
type: 'text',
|
|
261
|
-
name: '
|
|
262
|
-
message: '
|
|
263
|
-
required:
|
|
261
|
+
name: 'agentTableId',
|
|
262
|
+
message: 'agentTableId',
|
|
263
|
+
required: false,
|
|
264
|
+
skipPrompt: true,
|
|
264
265
|
},
|
|
265
266
|
{
|
|
266
267
|
type: 'text',
|
|
267
|
-
name: '
|
|
268
|
-
message: '
|
|
268
|
+
name: 'agentTableName',
|
|
269
|
+
message: 'agentTableName',
|
|
269
270
|
required: false,
|
|
270
271
|
skipPrompt: true,
|
|
271
272
|
},
|
|
272
273
|
{
|
|
273
274
|
type: 'text',
|
|
274
|
-
name: '
|
|
275
|
-
message: '
|
|
275
|
+
name: 'apiName',
|
|
276
|
+
message: 'apiName',
|
|
276
277
|
required: false,
|
|
277
278
|
skipPrompt: true,
|
|
278
279
|
},
|
|
279
280
|
{
|
|
280
281
|
type: 'text',
|
|
281
|
-
name: '
|
|
282
|
-
message: '
|
|
283
|
-
required:
|
|
284
|
-
skipPrompt: true,
|
|
282
|
+
name: 'databaseId',
|
|
283
|
+
message: 'databaseId',
|
|
284
|
+
required: true,
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
287
|
type: 'text',
|
|
288
|
-
name: '
|
|
289
|
-
message: '
|
|
288
|
+
name: 'defaultPermissions',
|
|
289
|
+
message: 'defaultPermissions',
|
|
290
290
|
required: false,
|
|
291
291
|
skipPrompt: true,
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
type: 'text',
|
|
295
|
-
name: '
|
|
296
|
-
message: '
|
|
295
|
+
name: 'entityField',
|
|
296
|
+
message: 'entityField',
|
|
297
297
|
required: false,
|
|
298
298
|
skipPrompt: true,
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
301
|
type: 'text',
|
|
302
|
-
name: '
|
|
303
|
-
message: '
|
|
302
|
+
name: 'entityTableId',
|
|
303
|
+
message: 'entityTableId',
|
|
304
304
|
required: false,
|
|
305
305
|
skipPrompt: true,
|
|
306
306
|
},
|
|
307
307
|
{
|
|
308
|
-
type: '
|
|
309
|
-
name: '
|
|
310
|
-
message: '
|
|
308
|
+
type: 'boolean',
|
|
309
|
+
name: 'hasAgents',
|
|
310
|
+
message: 'hasAgents',
|
|
311
311
|
required: false,
|
|
312
312
|
skipPrompt: true,
|
|
313
313
|
},
|
|
314
314
|
{
|
|
315
|
-
type: '
|
|
316
|
-
name: '
|
|
317
|
-
message: '
|
|
315
|
+
type: 'boolean',
|
|
316
|
+
name: 'hasPlans',
|
|
317
|
+
message: 'hasPlans',
|
|
318
318
|
required: false,
|
|
319
319
|
skipPrompt: true,
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
|
-
type: '
|
|
323
|
-
name: '
|
|
324
|
-
message: '
|
|
322
|
+
type: 'boolean',
|
|
323
|
+
name: 'hasResources',
|
|
324
|
+
message: 'hasResources',
|
|
325
325
|
required: false,
|
|
326
326
|
skipPrompt: true,
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
type: 'text',
|
|
330
|
-
name: '
|
|
331
|
-
message: '
|
|
330
|
+
name: 'messageTableId',
|
|
331
|
+
message: 'messageTableId',
|
|
332
332
|
required: false,
|
|
333
333
|
skipPrompt: true,
|
|
334
334
|
},
|
|
335
335
|
{
|
|
336
336
|
type: 'text',
|
|
337
|
-
name: '
|
|
338
|
-
message: '
|
|
337
|
+
name: 'messageTableName',
|
|
338
|
+
message: 'messageTableName',
|
|
339
339
|
required: false,
|
|
340
340
|
skipPrompt: true,
|
|
341
341
|
},
|
|
@@ -348,155 +348,155 @@ async function handleCreate(argv, prompter) {
|
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
350
|
type: 'text',
|
|
351
|
-
name: '
|
|
352
|
-
message: '
|
|
351
|
+
name: 'personaTableName',
|
|
352
|
+
message: 'personaTableName',
|
|
353
353
|
required: false,
|
|
354
354
|
skipPrompt: true,
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
357
|
type: 'text',
|
|
358
|
-
name: '
|
|
359
|
-
message: '
|
|
358
|
+
name: 'planTableId',
|
|
359
|
+
message: 'planTableId',
|
|
360
360
|
required: false,
|
|
361
361
|
skipPrompt: true,
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
364
|
type: 'text',
|
|
365
|
-
name: '
|
|
366
|
-
message: '
|
|
365
|
+
name: 'planTableName',
|
|
366
|
+
message: 'planTableName',
|
|
367
367
|
required: false,
|
|
368
368
|
skipPrompt: true,
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
|
-
type: '
|
|
372
|
-
name: '
|
|
373
|
-
message: '
|
|
371
|
+
type: 'json',
|
|
372
|
+
name: 'policies',
|
|
373
|
+
message: 'policies',
|
|
374
374
|
required: false,
|
|
375
375
|
skipPrompt: true,
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
378
|
type: 'text',
|
|
379
|
-
name: '
|
|
380
|
-
message: '
|
|
379
|
+
name: 'prefix',
|
|
380
|
+
message: 'prefix',
|
|
381
381
|
required: false,
|
|
382
382
|
skipPrompt: true,
|
|
383
383
|
},
|
|
384
384
|
{
|
|
385
385
|
type: 'text',
|
|
386
|
-
name: '
|
|
387
|
-
message: '
|
|
386
|
+
name: 'privateApiName',
|
|
387
|
+
message: 'privateApiName',
|
|
388
388
|
required: false,
|
|
389
389
|
skipPrompt: true,
|
|
390
390
|
},
|
|
391
391
|
{
|
|
392
392
|
type: 'text',
|
|
393
|
-
name: '
|
|
394
|
-
message: '
|
|
393
|
+
name: 'privateSchemaId',
|
|
394
|
+
message: 'privateSchemaId',
|
|
395
395
|
required: false,
|
|
396
396
|
skipPrompt: true,
|
|
397
397
|
},
|
|
398
398
|
{
|
|
399
399
|
type: 'text',
|
|
400
|
-
name: '
|
|
401
|
-
message: '
|
|
400
|
+
name: 'privateSchemaName',
|
|
401
|
+
message: 'privateSchemaName',
|
|
402
402
|
required: false,
|
|
403
403
|
skipPrompt: true,
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
406
|
type: 'text',
|
|
407
|
-
name: '
|
|
408
|
-
message: '
|
|
407
|
+
name: 'promptsTableId',
|
|
408
|
+
message: 'promptsTableId',
|
|
409
409
|
required: false,
|
|
410
410
|
skipPrompt: true,
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
|
-
type: '
|
|
414
|
-
name: '
|
|
415
|
-
message: '
|
|
413
|
+
type: 'text',
|
|
414
|
+
name: 'promptsTableName',
|
|
415
|
+
message: 'promptsTableName',
|
|
416
416
|
required: false,
|
|
417
417
|
skipPrompt: true,
|
|
418
418
|
},
|
|
419
419
|
{
|
|
420
|
-
type: '
|
|
421
|
-
name: '
|
|
422
|
-
message: '
|
|
420
|
+
type: 'json',
|
|
421
|
+
name: 'provisions',
|
|
422
|
+
message: 'provisions',
|
|
423
423
|
required: false,
|
|
424
424
|
skipPrompt: true,
|
|
425
425
|
},
|
|
426
426
|
{
|
|
427
|
-
type: '
|
|
428
|
-
name: '
|
|
429
|
-
message: '
|
|
427
|
+
type: 'text',
|
|
428
|
+
name: 'publicSchemaName',
|
|
429
|
+
message: 'publicSchemaName',
|
|
430
430
|
required: false,
|
|
431
431
|
skipPrompt: true,
|
|
432
432
|
},
|
|
433
433
|
{
|
|
434
|
-
type: '
|
|
435
|
-
name: '
|
|
436
|
-
message: '
|
|
434
|
+
type: 'text',
|
|
435
|
+
name: 'resourceTableId',
|
|
436
|
+
message: 'resourceTableId',
|
|
437
437
|
required: false,
|
|
438
438
|
skipPrompt: true,
|
|
439
439
|
},
|
|
440
440
|
{
|
|
441
441
|
type: 'text',
|
|
442
|
-
name: '
|
|
443
|
-
message: '
|
|
442
|
+
name: 'resourceTableName',
|
|
443
|
+
message: 'resourceTableName',
|
|
444
444
|
required: false,
|
|
445
445
|
skipPrompt: true,
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
type: '
|
|
449
|
-
name: '
|
|
450
|
-
message: '
|
|
448
|
+
type: 'json',
|
|
449
|
+
name: 'resources',
|
|
450
|
+
message: 'resources',
|
|
451
451
|
required: false,
|
|
452
452
|
skipPrompt: true,
|
|
453
453
|
},
|
|
454
454
|
{
|
|
455
455
|
type: 'text',
|
|
456
|
-
name: '
|
|
457
|
-
message: '
|
|
456
|
+
name: 'schemaId',
|
|
457
|
+
message: 'schemaId',
|
|
458
458
|
required: false,
|
|
459
459
|
skipPrompt: true,
|
|
460
460
|
},
|
|
461
461
|
{
|
|
462
462
|
type: 'text',
|
|
463
|
-
name: '
|
|
464
|
-
message: '
|
|
463
|
+
name: 'scope',
|
|
464
|
+
message: 'scope',
|
|
465
465
|
required: false,
|
|
466
466
|
skipPrompt: true,
|
|
467
467
|
},
|
|
468
468
|
{
|
|
469
|
-
type: '
|
|
470
|
-
name: '
|
|
471
|
-
message: '
|
|
469
|
+
type: 'boolean',
|
|
470
|
+
name: 'shared',
|
|
471
|
+
message: 'shared',
|
|
472
472
|
required: false,
|
|
473
473
|
skipPrompt: true,
|
|
474
474
|
},
|
|
475
475
|
{
|
|
476
|
-
type: '
|
|
477
|
-
name: '
|
|
478
|
-
message: '
|
|
476
|
+
type: 'text',
|
|
477
|
+
name: 'taskTableId',
|
|
478
|
+
message: 'taskTableId',
|
|
479
479
|
required: false,
|
|
480
480
|
skipPrompt: true,
|
|
481
481
|
},
|
|
482
482
|
{
|
|
483
|
-
type: '
|
|
484
|
-
name: '
|
|
485
|
-
message: '
|
|
483
|
+
type: 'text',
|
|
484
|
+
name: 'taskTableName',
|
|
485
|
+
message: 'taskTableName',
|
|
486
486
|
required: false,
|
|
487
487
|
skipPrompt: true,
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
|
-
type: '
|
|
491
|
-
name: '
|
|
492
|
-
message: '
|
|
490
|
+
type: 'text',
|
|
491
|
+
name: 'threadTableId',
|
|
492
|
+
message: 'threadTableId',
|
|
493
493
|
required: false,
|
|
494
494
|
skipPrompt: true,
|
|
495
495
|
},
|
|
496
496
|
{
|
|
497
497
|
type: 'text',
|
|
498
|
-
name: '
|
|
499
|
-
message: '
|
|
498
|
+
name: 'threadTableName',
|
|
499
|
+
message: 'threadTableName',
|
|
500
500
|
required: false,
|
|
501
501
|
skipPrompt: true,
|
|
502
502
|
},
|
|
@@ -507,79 +507,79 @@ async function handleCreate(argv, prompter) {
|
|
|
507
507
|
const result = await client.agentModule
|
|
508
508
|
.create({
|
|
509
509
|
data: {
|
|
510
|
+
agentTableId: cleanedData.agentTableId,
|
|
511
|
+
agentTableName: cleanedData.agentTableName,
|
|
512
|
+
apiName: cleanedData.apiName,
|
|
510
513
|
databaseId: cleanedData.databaseId,
|
|
514
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
511
515
|
entityField: cleanedData.entityField,
|
|
512
|
-
|
|
516
|
+
entityTableId: cleanedData.entityTableId,
|
|
517
|
+
hasAgents: cleanedData.hasAgents,
|
|
518
|
+
hasPlans: cleanedData.hasPlans,
|
|
519
|
+
hasResources: cleanedData.hasResources,
|
|
520
|
+
messageTableId: cleanedData.messageTableId,
|
|
521
|
+
messageTableName: cleanedData.messageTableName,
|
|
522
|
+
personaTableId: cleanedData.personaTableId,
|
|
523
|
+
personaTableName: cleanedData.personaTableName,
|
|
524
|
+
planTableId: cleanedData.planTableId,
|
|
525
|
+
planTableName: cleanedData.planTableName,
|
|
526
|
+
policies: cleanedData.policies,
|
|
527
|
+
prefix: cleanedData.prefix,
|
|
528
|
+
privateApiName: cleanedData.privateApiName,
|
|
513
529
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
514
|
-
publicSchemaName: cleanedData.publicSchemaName,
|
|
515
530
|
privateSchemaName: cleanedData.privateSchemaName,
|
|
516
|
-
threadTableId: cleanedData.threadTableId,
|
|
517
|
-
messageTableId: cleanedData.messageTableId,
|
|
518
|
-
taskTableId: cleanedData.taskTableId,
|
|
519
531
|
promptsTableId: cleanedData.promptsTableId,
|
|
520
|
-
planTableId: cleanedData.planTableId,
|
|
521
|
-
agentTableId: cleanedData.agentTableId,
|
|
522
|
-
personaTableId: cleanedData.personaTableId,
|
|
523
|
-
resourceTableId: cleanedData.resourceTableId,
|
|
524
|
-
threadTableName: cleanedData.threadTableName,
|
|
525
|
-
messageTableName: cleanedData.messageTableName,
|
|
526
|
-
taskTableName: cleanedData.taskTableName,
|
|
527
532
|
promptsTableName: cleanedData.promptsTableName,
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
533
|
+
provisions: cleanedData.provisions,
|
|
534
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
535
|
+
resourceTableId: cleanedData.resourceTableId,
|
|
531
536
|
resourceTableName: cleanedData.resourceTableName,
|
|
532
|
-
hasPlans: cleanedData.hasPlans,
|
|
533
|
-
hasResources: cleanedData.hasResources,
|
|
534
|
-
hasAgents: cleanedData.hasAgents,
|
|
535
|
-
shared: cleanedData.shared,
|
|
536
|
-
apiName: cleanedData.apiName,
|
|
537
|
-
privateApiName: cleanedData.privateApiName,
|
|
538
|
-
scope: cleanedData.scope,
|
|
539
|
-
prefix: cleanedData.prefix,
|
|
540
|
-
entityTableId: cleanedData.entityTableId,
|
|
541
|
-
policies: cleanedData.policies,
|
|
542
537
|
resources: cleanedData.resources,
|
|
543
|
-
|
|
544
|
-
|
|
538
|
+
schemaId: cleanedData.schemaId,
|
|
539
|
+
scope: cleanedData.scope,
|
|
540
|
+
shared: cleanedData.shared,
|
|
541
|
+
taskTableId: cleanedData.taskTableId,
|
|
542
|
+
taskTableName: cleanedData.taskTableName,
|
|
543
|
+
threadTableId: cleanedData.threadTableId,
|
|
544
|
+
threadTableName: cleanedData.threadTableName,
|
|
545
545
|
},
|
|
546
546
|
select: {
|
|
547
|
-
|
|
547
|
+
agentTableId: true,
|
|
548
|
+
agentTableName: true,
|
|
549
|
+
apiName: true,
|
|
548
550
|
databaseId: true,
|
|
551
|
+
defaultPermissions: true,
|
|
549
552
|
entityField: true,
|
|
550
|
-
|
|
553
|
+
entityTableId: true,
|
|
554
|
+
hasAgents: true,
|
|
555
|
+
hasPlans: true,
|
|
556
|
+
hasResources: true,
|
|
557
|
+
id: true,
|
|
558
|
+
messageTableId: true,
|
|
559
|
+
messageTableName: true,
|
|
560
|
+
personaTableId: true,
|
|
561
|
+
personaTableName: true,
|
|
562
|
+
planTableId: true,
|
|
563
|
+
planTableName: true,
|
|
564
|
+
policies: true,
|
|
565
|
+
prefix: true,
|
|
566
|
+
privateApiName: true,
|
|
551
567
|
privateSchemaId: true,
|
|
552
|
-
publicSchemaName: true,
|
|
553
568
|
privateSchemaName: true,
|
|
554
|
-
threadTableId: true,
|
|
555
|
-
messageTableId: true,
|
|
556
|
-
taskTableId: true,
|
|
557
569
|
promptsTableId: true,
|
|
558
|
-
planTableId: true,
|
|
559
|
-
agentTableId: true,
|
|
560
|
-
personaTableId: true,
|
|
561
|
-
resourceTableId: true,
|
|
562
|
-
threadTableName: true,
|
|
563
|
-
messageTableName: true,
|
|
564
|
-
taskTableName: true,
|
|
565
570
|
promptsTableName: true,
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
571
|
+
provisions: true,
|
|
572
|
+
publicSchemaName: true,
|
|
573
|
+
resourceTableId: true,
|
|
569
574
|
resourceTableName: true,
|
|
570
|
-
hasPlans: true,
|
|
571
|
-
hasResources: true,
|
|
572
|
-
hasAgents: true,
|
|
573
|
-
shared: true,
|
|
574
|
-
apiName: true,
|
|
575
|
-
privateApiName: true,
|
|
576
|
-
scope: true,
|
|
577
|
-
prefix: true,
|
|
578
|
-
entityTableId: true,
|
|
579
|
-
policies: true,
|
|
580
575
|
resources: true,
|
|
581
|
-
|
|
582
|
-
|
|
576
|
+
schemaId: true,
|
|
577
|
+
scope: true,
|
|
578
|
+
shared: true,
|
|
579
|
+
taskTableId: true,
|
|
580
|
+
taskTableName: true,
|
|
581
|
+
threadTableId: true,
|
|
582
|
+
threadTableName: true,
|
|
583
583
|
},
|
|
584
584
|
})
|
|
585
585
|
.execute();
|
|
@@ -604,84 +604,84 @@ async function handleUpdate(argv, prompter) {
|
|
|
604
604
|
},
|
|
605
605
|
{
|
|
606
606
|
type: 'text',
|
|
607
|
-
name: '
|
|
608
|
-
message: '
|
|
607
|
+
name: 'agentTableId',
|
|
608
|
+
message: 'agentTableId',
|
|
609
609
|
required: false,
|
|
610
|
+
skipPrompt: true,
|
|
610
611
|
},
|
|
611
612
|
{
|
|
612
613
|
type: 'text',
|
|
613
|
-
name: '
|
|
614
|
-
message: '
|
|
614
|
+
name: 'agentTableName',
|
|
615
|
+
message: 'agentTableName',
|
|
615
616
|
required: false,
|
|
616
617
|
skipPrompt: true,
|
|
617
618
|
},
|
|
618
619
|
{
|
|
619
620
|
type: 'text',
|
|
620
|
-
name: '
|
|
621
|
-
message: '
|
|
621
|
+
name: 'apiName',
|
|
622
|
+
message: 'apiName',
|
|
622
623
|
required: false,
|
|
623
624
|
skipPrompt: true,
|
|
624
625
|
},
|
|
625
626
|
{
|
|
626
627
|
type: 'text',
|
|
627
|
-
name: '
|
|
628
|
-
message: '
|
|
628
|
+
name: 'databaseId',
|
|
629
|
+
message: 'databaseId',
|
|
629
630
|
required: false,
|
|
630
|
-
skipPrompt: true,
|
|
631
631
|
},
|
|
632
632
|
{
|
|
633
633
|
type: 'text',
|
|
634
|
-
name: '
|
|
635
|
-
message: '
|
|
634
|
+
name: 'defaultPermissions',
|
|
635
|
+
message: 'defaultPermissions',
|
|
636
636
|
required: false,
|
|
637
637
|
skipPrompt: true,
|
|
638
638
|
},
|
|
639
639
|
{
|
|
640
640
|
type: 'text',
|
|
641
|
-
name: '
|
|
642
|
-
message: '
|
|
641
|
+
name: 'entityField',
|
|
642
|
+
message: 'entityField',
|
|
643
643
|
required: false,
|
|
644
644
|
skipPrompt: true,
|
|
645
645
|
},
|
|
646
646
|
{
|
|
647
647
|
type: 'text',
|
|
648
|
-
name: '
|
|
649
|
-
message: '
|
|
648
|
+
name: 'entityTableId',
|
|
649
|
+
message: 'entityTableId',
|
|
650
650
|
required: false,
|
|
651
651
|
skipPrompt: true,
|
|
652
652
|
},
|
|
653
653
|
{
|
|
654
|
-
type: '
|
|
655
|
-
name: '
|
|
656
|
-
message: '
|
|
654
|
+
type: 'boolean',
|
|
655
|
+
name: 'hasAgents',
|
|
656
|
+
message: 'hasAgents',
|
|
657
657
|
required: false,
|
|
658
658
|
skipPrompt: true,
|
|
659
659
|
},
|
|
660
660
|
{
|
|
661
|
-
type: '
|
|
662
|
-
name: '
|
|
663
|
-
message: '
|
|
661
|
+
type: 'boolean',
|
|
662
|
+
name: 'hasPlans',
|
|
663
|
+
message: 'hasPlans',
|
|
664
664
|
required: false,
|
|
665
665
|
skipPrompt: true,
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
|
-
type: '
|
|
669
|
-
name: '
|
|
670
|
-
message: '
|
|
668
|
+
type: 'boolean',
|
|
669
|
+
name: 'hasResources',
|
|
670
|
+
message: 'hasResources',
|
|
671
671
|
required: false,
|
|
672
672
|
skipPrompt: true,
|
|
673
673
|
},
|
|
674
674
|
{
|
|
675
675
|
type: 'text',
|
|
676
|
-
name: '
|
|
677
|
-
message: '
|
|
676
|
+
name: 'messageTableId',
|
|
677
|
+
message: 'messageTableId',
|
|
678
678
|
required: false,
|
|
679
679
|
skipPrompt: true,
|
|
680
680
|
},
|
|
681
681
|
{
|
|
682
682
|
type: 'text',
|
|
683
|
-
name: '
|
|
684
|
-
message: '
|
|
683
|
+
name: 'messageTableName',
|
|
684
|
+
message: 'messageTableName',
|
|
685
685
|
required: false,
|
|
686
686
|
skipPrompt: true,
|
|
687
687
|
},
|
|
@@ -694,155 +694,155 @@ async function handleUpdate(argv, prompter) {
|
|
|
694
694
|
},
|
|
695
695
|
{
|
|
696
696
|
type: 'text',
|
|
697
|
-
name: '
|
|
698
|
-
message: '
|
|
697
|
+
name: 'personaTableName',
|
|
698
|
+
message: 'personaTableName',
|
|
699
699
|
required: false,
|
|
700
700
|
skipPrompt: true,
|
|
701
701
|
},
|
|
702
702
|
{
|
|
703
703
|
type: 'text',
|
|
704
|
-
name: '
|
|
705
|
-
message: '
|
|
704
|
+
name: 'planTableId',
|
|
705
|
+
message: 'planTableId',
|
|
706
706
|
required: false,
|
|
707
707
|
skipPrompt: true,
|
|
708
708
|
},
|
|
709
709
|
{
|
|
710
710
|
type: 'text',
|
|
711
|
-
name: '
|
|
712
|
-
message: '
|
|
711
|
+
name: 'planTableName',
|
|
712
|
+
message: 'planTableName',
|
|
713
713
|
required: false,
|
|
714
714
|
skipPrompt: true,
|
|
715
715
|
},
|
|
716
716
|
{
|
|
717
|
-
type: '
|
|
718
|
-
name: '
|
|
719
|
-
message: '
|
|
717
|
+
type: 'json',
|
|
718
|
+
name: 'policies',
|
|
719
|
+
message: 'policies',
|
|
720
720
|
required: false,
|
|
721
721
|
skipPrompt: true,
|
|
722
722
|
},
|
|
723
723
|
{
|
|
724
724
|
type: 'text',
|
|
725
|
-
name: '
|
|
726
|
-
message: '
|
|
725
|
+
name: 'prefix',
|
|
726
|
+
message: 'prefix',
|
|
727
727
|
required: false,
|
|
728
728
|
skipPrompt: true,
|
|
729
729
|
},
|
|
730
730
|
{
|
|
731
731
|
type: 'text',
|
|
732
|
-
name: '
|
|
733
|
-
message: '
|
|
732
|
+
name: 'privateApiName',
|
|
733
|
+
message: 'privateApiName',
|
|
734
734
|
required: false,
|
|
735
735
|
skipPrompt: true,
|
|
736
736
|
},
|
|
737
737
|
{
|
|
738
738
|
type: 'text',
|
|
739
|
-
name: '
|
|
740
|
-
message: '
|
|
739
|
+
name: 'privateSchemaId',
|
|
740
|
+
message: 'privateSchemaId',
|
|
741
741
|
required: false,
|
|
742
742
|
skipPrompt: true,
|
|
743
743
|
},
|
|
744
744
|
{
|
|
745
745
|
type: 'text',
|
|
746
|
-
name: '
|
|
747
|
-
message: '
|
|
746
|
+
name: 'privateSchemaName',
|
|
747
|
+
message: 'privateSchemaName',
|
|
748
748
|
required: false,
|
|
749
749
|
skipPrompt: true,
|
|
750
750
|
},
|
|
751
751
|
{
|
|
752
752
|
type: 'text',
|
|
753
|
-
name: '
|
|
754
|
-
message: '
|
|
753
|
+
name: 'promptsTableId',
|
|
754
|
+
message: 'promptsTableId',
|
|
755
755
|
required: false,
|
|
756
756
|
skipPrompt: true,
|
|
757
757
|
},
|
|
758
758
|
{
|
|
759
|
-
type: '
|
|
760
|
-
name: '
|
|
761
|
-
message: '
|
|
759
|
+
type: 'text',
|
|
760
|
+
name: 'promptsTableName',
|
|
761
|
+
message: 'promptsTableName',
|
|
762
762
|
required: false,
|
|
763
763
|
skipPrompt: true,
|
|
764
764
|
},
|
|
765
765
|
{
|
|
766
|
-
type: '
|
|
767
|
-
name: '
|
|
768
|
-
message: '
|
|
766
|
+
type: 'json',
|
|
767
|
+
name: 'provisions',
|
|
768
|
+
message: 'provisions',
|
|
769
769
|
required: false,
|
|
770
770
|
skipPrompt: true,
|
|
771
771
|
},
|
|
772
772
|
{
|
|
773
|
-
type: '
|
|
774
|
-
name: '
|
|
775
|
-
message: '
|
|
773
|
+
type: 'text',
|
|
774
|
+
name: 'publicSchemaName',
|
|
775
|
+
message: 'publicSchemaName',
|
|
776
776
|
required: false,
|
|
777
777
|
skipPrompt: true,
|
|
778
778
|
},
|
|
779
779
|
{
|
|
780
|
-
type: '
|
|
781
|
-
name: '
|
|
782
|
-
message: '
|
|
780
|
+
type: 'text',
|
|
781
|
+
name: 'resourceTableId',
|
|
782
|
+
message: 'resourceTableId',
|
|
783
783
|
required: false,
|
|
784
784
|
skipPrompt: true,
|
|
785
785
|
},
|
|
786
786
|
{
|
|
787
787
|
type: 'text',
|
|
788
|
-
name: '
|
|
789
|
-
message: '
|
|
788
|
+
name: 'resourceTableName',
|
|
789
|
+
message: 'resourceTableName',
|
|
790
790
|
required: false,
|
|
791
791
|
skipPrompt: true,
|
|
792
792
|
},
|
|
793
793
|
{
|
|
794
|
-
type: '
|
|
795
|
-
name: '
|
|
796
|
-
message: '
|
|
794
|
+
type: 'json',
|
|
795
|
+
name: 'resources',
|
|
796
|
+
message: 'resources',
|
|
797
797
|
required: false,
|
|
798
798
|
skipPrompt: true,
|
|
799
799
|
},
|
|
800
800
|
{
|
|
801
801
|
type: 'text',
|
|
802
|
-
name: '
|
|
803
|
-
message: '
|
|
802
|
+
name: 'schemaId',
|
|
803
|
+
message: 'schemaId',
|
|
804
804
|
required: false,
|
|
805
805
|
skipPrompt: true,
|
|
806
806
|
},
|
|
807
807
|
{
|
|
808
808
|
type: 'text',
|
|
809
|
-
name: '
|
|
810
|
-
message: '
|
|
809
|
+
name: 'scope',
|
|
810
|
+
message: 'scope',
|
|
811
811
|
required: false,
|
|
812
812
|
skipPrompt: true,
|
|
813
813
|
},
|
|
814
814
|
{
|
|
815
|
-
type: '
|
|
816
|
-
name: '
|
|
817
|
-
message: '
|
|
815
|
+
type: 'boolean',
|
|
816
|
+
name: 'shared',
|
|
817
|
+
message: 'shared',
|
|
818
818
|
required: false,
|
|
819
819
|
skipPrompt: true,
|
|
820
820
|
},
|
|
821
821
|
{
|
|
822
|
-
type: '
|
|
823
|
-
name: '
|
|
824
|
-
message: '
|
|
822
|
+
type: 'text',
|
|
823
|
+
name: 'taskTableId',
|
|
824
|
+
message: 'taskTableId',
|
|
825
825
|
required: false,
|
|
826
826
|
skipPrompt: true,
|
|
827
827
|
},
|
|
828
828
|
{
|
|
829
|
-
type: '
|
|
830
|
-
name: '
|
|
831
|
-
message: '
|
|
829
|
+
type: 'text',
|
|
830
|
+
name: 'taskTableName',
|
|
831
|
+
message: 'taskTableName',
|
|
832
832
|
required: false,
|
|
833
833
|
skipPrompt: true,
|
|
834
834
|
},
|
|
835
835
|
{
|
|
836
|
-
type: '
|
|
837
|
-
name: '
|
|
838
|
-
message: '
|
|
836
|
+
type: 'text',
|
|
837
|
+
name: 'threadTableId',
|
|
838
|
+
message: 'threadTableId',
|
|
839
839
|
required: false,
|
|
840
840
|
skipPrompt: true,
|
|
841
841
|
},
|
|
842
842
|
{
|
|
843
843
|
type: 'text',
|
|
844
|
-
name: '
|
|
845
|
-
message: '
|
|
844
|
+
name: 'threadTableName',
|
|
845
|
+
message: 'threadTableName',
|
|
846
846
|
required: false,
|
|
847
847
|
skipPrompt: true,
|
|
848
848
|
},
|
|
@@ -856,79 +856,79 @@ async function handleUpdate(argv, prompter) {
|
|
|
856
856
|
id: answers.id,
|
|
857
857
|
},
|
|
858
858
|
data: {
|
|
859
|
+
agentTableId: cleanedData.agentTableId,
|
|
860
|
+
agentTableName: cleanedData.agentTableName,
|
|
861
|
+
apiName: cleanedData.apiName,
|
|
859
862
|
databaseId: cleanedData.databaseId,
|
|
863
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
860
864
|
entityField: cleanedData.entityField,
|
|
861
|
-
|
|
865
|
+
entityTableId: cleanedData.entityTableId,
|
|
866
|
+
hasAgents: cleanedData.hasAgents,
|
|
867
|
+
hasPlans: cleanedData.hasPlans,
|
|
868
|
+
hasResources: cleanedData.hasResources,
|
|
869
|
+
messageTableId: cleanedData.messageTableId,
|
|
870
|
+
messageTableName: cleanedData.messageTableName,
|
|
871
|
+
personaTableId: cleanedData.personaTableId,
|
|
872
|
+
personaTableName: cleanedData.personaTableName,
|
|
873
|
+
planTableId: cleanedData.planTableId,
|
|
874
|
+
planTableName: cleanedData.planTableName,
|
|
875
|
+
policies: cleanedData.policies,
|
|
876
|
+
prefix: cleanedData.prefix,
|
|
877
|
+
privateApiName: cleanedData.privateApiName,
|
|
862
878
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
863
|
-
publicSchemaName: cleanedData.publicSchemaName,
|
|
864
879
|
privateSchemaName: cleanedData.privateSchemaName,
|
|
865
|
-
threadTableId: cleanedData.threadTableId,
|
|
866
|
-
messageTableId: cleanedData.messageTableId,
|
|
867
|
-
taskTableId: cleanedData.taskTableId,
|
|
868
880
|
promptsTableId: cleanedData.promptsTableId,
|
|
869
|
-
planTableId: cleanedData.planTableId,
|
|
870
|
-
agentTableId: cleanedData.agentTableId,
|
|
871
|
-
personaTableId: cleanedData.personaTableId,
|
|
872
|
-
resourceTableId: cleanedData.resourceTableId,
|
|
873
|
-
threadTableName: cleanedData.threadTableName,
|
|
874
|
-
messageTableName: cleanedData.messageTableName,
|
|
875
|
-
taskTableName: cleanedData.taskTableName,
|
|
876
881
|
promptsTableName: cleanedData.promptsTableName,
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
882
|
+
provisions: cleanedData.provisions,
|
|
883
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
884
|
+
resourceTableId: cleanedData.resourceTableId,
|
|
880
885
|
resourceTableName: cleanedData.resourceTableName,
|
|
881
|
-
hasPlans: cleanedData.hasPlans,
|
|
882
|
-
hasResources: cleanedData.hasResources,
|
|
883
|
-
hasAgents: cleanedData.hasAgents,
|
|
884
|
-
shared: cleanedData.shared,
|
|
885
|
-
apiName: cleanedData.apiName,
|
|
886
|
-
privateApiName: cleanedData.privateApiName,
|
|
887
|
-
scope: cleanedData.scope,
|
|
888
|
-
prefix: cleanedData.prefix,
|
|
889
|
-
entityTableId: cleanedData.entityTableId,
|
|
890
|
-
policies: cleanedData.policies,
|
|
891
886
|
resources: cleanedData.resources,
|
|
892
|
-
|
|
893
|
-
|
|
887
|
+
schemaId: cleanedData.schemaId,
|
|
888
|
+
scope: cleanedData.scope,
|
|
889
|
+
shared: cleanedData.shared,
|
|
890
|
+
taskTableId: cleanedData.taskTableId,
|
|
891
|
+
taskTableName: cleanedData.taskTableName,
|
|
892
|
+
threadTableId: cleanedData.threadTableId,
|
|
893
|
+
threadTableName: cleanedData.threadTableName,
|
|
894
894
|
},
|
|
895
895
|
select: {
|
|
896
|
-
|
|
896
|
+
agentTableId: true,
|
|
897
|
+
agentTableName: true,
|
|
898
|
+
apiName: true,
|
|
897
899
|
databaseId: true,
|
|
900
|
+
defaultPermissions: true,
|
|
898
901
|
entityField: true,
|
|
899
|
-
|
|
902
|
+
entityTableId: true,
|
|
903
|
+
hasAgents: true,
|
|
904
|
+
hasPlans: true,
|
|
905
|
+
hasResources: true,
|
|
906
|
+
id: true,
|
|
907
|
+
messageTableId: true,
|
|
908
|
+
messageTableName: true,
|
|
909
|
+
personaTableId: true,
|
|
910
|
+
personaTableName: true,
|
|
911
|
+
planTableId: true,
|
|
912
|
+
planTableName: true,
|
|
913
|
+
policies: true,
|
|
914
|
+
prefix: true,
|
|
915
|
+
privateApiName: true,
|
|
900
916
|
privateSchemaId: true,
|
|
901
|
-
publicSchemaName: true,
|
|
902
917
|
privateSchemaName: true,
|
|
903
|
-
threadTableId: true,
|
|
904
|
-
messageTableId: true,
|
|
905
|
-
taskTableId: true,
|
|
906
918
|
promptsTableId: true,
|
|
907
|
-
planTableId: true,
|
|
908
|
-
agentTableId: true,
|
|
909
|
-
personaTableId: true,
|
|
910
|
-
resourceTableId: true,
|
|
911
|
-
threadTableName: true,
|
|
912
|
-
messageTableName: true,
|
|
913
|
-
taskTableName: true,
|
|
914
919
|
promptsTableName: true,
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
920
|
+
provisions: true,
|
|
921
|
+
publicSchemaName: true,
|
|
922
|
+
resourceTableId: true,
|
|
918
923
|
resourceTableName: true,
|
|
919
|
-
hasPlans: true,
|
|
920
|
-
hasResources: true,
|
|
921
|
-
hasAgents: true,
|
|
922
|
-
shared: true,
|
|
923
|
-
apiName: true,
|
|
924
|
-
privateApiName: true,
|
|
925
|
-
scope: true,
|
|
926
|
-
prefix: true,
|
|
927
|
-
entityTableId: true,
|
|
928
|
-
policies: true,
|
|
929
924
|
resources: true,
|
|
930
|
-
|
|
931
|
-
|
|
925
|
+
schemaId: true,
|
|
926
|
+
scope: true,
|
|
927
|
+
shared: true,
|
|
928
|
+
taskTableId: true,
|
|
929
|
+
taskTableName: true,
|
|
930
|
+
threadTableId: true,
|
|
931
|
+
threadTableName: true,
|
|
932
932
|
},
|
|
933
933
|
})
|
|
934
934
|
.execute();
|