vibe64 0.1.47 → 0.1.49
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/bin/run.js +1734 -1687
- package/bin/server.js +75 -75
- package/bin/upgrade-state.js +4539 -4471
- package/dist/assets/GithubBrowserTabs-BwpiRS2u.js +1 -0
- package/dist/assets/{LocalDatabaseServer-6VzPWZxG.js → LocalDatabaseServer-u_Ky7bNS.js} +1 -1
- package/dist/assets/{Vibe64AuthSettingsButton-TLwqAxDo.js → Vibe64AuthSettingsButton-BCwswT1G.js} +1 -1
- package/dist/assets/{Vibe64DashboardShell-B4dQ-oHD.js → Vibe64DashboardShell-CWlgrR2B.js} +1 -1
- package/dist/assets/{Vibe64DatabaseWorkspace-Bh5WIPOj.js → Vibe64DatabaseWorkspace-Dhs8_H0P.js} +1 -1
- package/dist/assets/Vibe64OutputControls-Dn548CZa.js +8 -0
- package/dist/assets/{Vibe64RepositoryWorkspace-idDg94lc.js → Vibe64RepositoryWorkspace-C-8S4JUF.js} +1 -1
- package/dist/assets/{Vibe64SessionFiles-Z9zxosyl.js → Vibe64SessionFiles-Cx6J7DDN.js} +2 -3
- package/dist/assets/{Vibe64UiStoryboardView-CrCDWMdR.js → Vibe64UiStoryboardView-DHyhJiWS.js} +1 -1
- package/dist/assets/{Vibe64UnavailableSessions-TqsxvGSf.js → Vibe64UnavailableSessions-Da4RxIhA.js} +1 -1
- package/dist/assets/{_sessionId_-7F1VGOou.js → _sessionId_-DCpgDPSI.js} +1 -1
- package/dist/assets/_slug_-BbEWp01a.js +25 -0
- package/dist/assets/{_slug_-B16mTWjj.css → _slug_-DerKOisL.css} +1 -1
- package/dist/assets/{access-Cx9RH95J.js → access-D4di2sCr.js} +1 -1
- package/dist/assets/{app-DPx4KKOa.js → app-Adr9Iz8p.js} +1 -1
- package/dist/assets/asyncModuleRecovery-DJsn5NrL.js +1 -0
- package/dist/assets/{changes-DYsuQLFW.js → changes-3Dd1O8Lu.js} +1 -1
- package/dist/assets/client-BAXHGUOC.js +1 -0
- package/dist/assets/{client-BYsDPxR3.js → client-CCZIu6yc.js} +1 -1
- package/dist/assets/{conversation-3ln-WnbL.css → conversation-CSDHdGDb.css} +1 -1
- package/dist/assets/conversation-DG9lp25w.js +8 -0
- package/dist/assets/conversation-ErAO1CmH.js +13 -0
- package/dist/assets/{dashboard-CWswAbYP.js → dashboard-0tCzDYCX.js} +1 -1
- package/dist/assets/english-definitions-DeiQ-jTT.js +1 -0
- package/dist/assets/env-DsyQ2MFX.js +1 -0
- package/dist/assets/{health-C0f6s-G1.js → health-DyTXU-nb.js} +1 -1
- package/dist/assets/{history-BQjETNB9.js → history-BXGAdPMI.js} +1 -1
- package/dist/assets/{incoming-COpY201m.js → incoming-yajkdGBY.js} +1 -1
- package/dist/assets/{index-MWACm8Pp.css → index-B-dukXUB.css} +1 -1
- package/dist/assets/index-CGz4Yow6.js +136 -0
- package/dist/assets/{integrations-BBkvNRHu.js → integrations-BMrXET36.js} +10 -2
- package/dist/assets/issues-kc1XBZCK.js +1 -0
- package/dist/assets/{learning-B8_wHoe1.js → learning-CIE5ghYv.js} +1 -1
- package/dist/assets/linkPath-Ch9eft18.js +1 -0
- package/dist/assets/{placement-DXvgK433.js → placement-BNmlke_j.js} +1 -1
- package/dist/assets/placement-DYM3JJ-F.js +1 -0
- package/dist/assets/publish-DTh6amqi.js +3 -0
- package/dist/assets/pull-requests-CbfGSSIh.js +1 -0
- package/dist/assets/{repository-BNPt7UWc.js → repository-BstMh-bG.js} +1 -1
- package/dist/assets/settings-Bf8C6dls.js +1 -0
- package/dist/assets/{studioGateApi-BVdclhPL.js → studioGateApi-mkX1eOTX.js} +1 -1
- package/dist/assets/{studioUrls-CGKCbM_d.js → studioUrls-B0-GdWh8.js} +1 -1
- package/dist/assets/useArchivedVibe64Sessions-DIOpfUxD.js +1 -0
- package/dist/assets/useCommand-CVuya6vG.js +1 -0
- package/dist/assets/useEndpointResource-7-YDfAxX.js +1 -0
- package/dist/assets/usePaths-Y6UuQxmI.js +1 -0
- package/dist/assets/{useUiFeedback-B51xtCAK.js → useUiFeedback-Bd3rao6E.js} +1 -1
- package/dist/assets/useVibe64ConversationLog-ChJOU2SD.js +1 -0
- package/dist/assets/{useVibe64DatabaseTools-BE_yXZFn.js → useVibe64DatabaseTools-DKV-TeNJ.js} +1 -1
- package/dist/assets/{useVibe64ProjectScope-D7b8n1gx.js → useVibe64ProjectScope-DXjsKKhl.js} +1 -1
- package/dist/assets/useVibe64SessionData-BkIHUrP5.js +1 -0
- package/dist/assets/useVibe64SessionSelection-N8wX5oqo.js +1 -0
- package/dist/assets/{useVibe64SystemGraph-CDDcsye4.js → useVibe64SystemGraph-Db_eD-X8.js} +1 -1
- package/dist/assets/{useVibe64Terminal-Zr3Mig2L.js → useVibe64Terminal-B9EWJ9Ba.js} +2 -2
- package/dist/assets/vibe64ProjectScope.local-l5_-E6pq.js +1 -0
- package/dist/assets/vibe64RepositoryRealtime-CHT4-6VN.js +1 -0
- package/dist/assets/vibe64SessionFocus-CS6Ex53G.js +1 -0
- package/dist/assets/vibe64SessionFocus-CSm4YJQD.css +1 -0
- package/dist/assets/vibe64SessionRequestConfig-xIx-5jxQ.js +1 -0
- package/dist/index.html +26 -22
- package/docs/colleague-usage/ai-accounts.md +6 -2
- package/docs/colleague-usage/ai-balance-and-allowance.md +15 -2
- package/docs/colleague-usage/coding-agent-failures.md +2 -1
- package/docs/colleague-usage/coding-agent-goals.md +8 -3
- package/docs/colleague-usage/coding-agents.md +16 -0
- package/docs/colleague-usage/github-work.md +14 -0
- package/docs/colleague-usage/preview-browser-checks.md +5 -3
- package/docs/colleague-usage/project-setup.md +6 -3
- package/docs/colleague-usage/running-vibe64-on-your-computer.md +3 -1
- package/docs/colleague-usage/sessions.md +35 -7
- package/docs/colleague-usage/starter-apps.md +3 -0
- package/docs/colleague-usage/temporary-chat-context.md +2 -1
- package/docs/colleague-usage/temporary-chats.md +17 -5
- package/node_modules/@jskit-ai/assistant-core/CHANGELOG.md +539 -0
- package/node_modules/@jskit-ai/assistant-core/locales/en.json +383 -0
- package/node_modules/@jskit-ai/assistant-core/package.json +3 -2
- package/node_modules/@jskit-ai/assistant-runtime/CHANGELOG.md +138 -0
- package/node_modules/@jskit-ai/assistant-runtime/README.md +2 -1
- package/node_modules/@jskit-ai/assistant-runtime/locales/en.json +137 -0
- package/node_modules/@jskit-ai/assistant-runtime/package.json +3 -2
- package/node_modules/@jskit-ai/assistant-runtime/src/server/repositories/assistantConfigRepository.js +223 -203
- package/node_modules/@jskit-ai/assistant-runtime/src/server/repositories/conversationsRepository.js +286 -266
- package/node_modules/@jskit-ai/assistant-runtime/src/server/repositories/messagesRepository.js +270 -250
- package/node_modules/@jskit-ai/assistant-voice/locales/en.json +182 -0
- package/node_modules/@jskit-ai/assistant-voice/package.json +3 -2
- package/node_modules/@jskit-ai/connector-google-calendar/CHANGELOG.md +83 -0
- package/node_modules/@jskit-ai/connector-google-calendar/locales/en.json +91 -0
- package/node_modules/@jskit-ai/connector-google-calendar/package.json +4 -3
- package/node_modules/@jskit-ai/connectors-catalog/CHANGELOG.md +1722 -0
- package/node_modules/@jskit-ai/connectors-catalog/README.md +11 -0
- package/node_modules/@jskit-ai/connectors-catalog/locales/en.json +3139 -0
- package/node_modules/@jskit-ai/connectors-catalog/package.json +5 -4
- package/node_modules/@jskit-ai/connectors-core/CHANGELOG.md +183 -0
- package/node_modules/@jskit-ai/connectors-core/locales/en.json +92 -0
- package/node_modules/@jskit-ai/connectors-core/package.json +3 -2
- package/node_modules/@jskit-ai/http-runtime/CHANGELOG.md +31 -0
- package/node_modules/@jskit-ai/http-runtime/locales/en.json +14 -0
- package/node_modules/@jskit-ai/http-runtime/package.json +3 -2
- package/node_modules/@jskit-ai/kernel/CHANGELOG.md +182 -0
- package/node_modules/@jskit-ai/kernel/locales/en.json +94 -0
- package/node_modules/@jskit-ai/kernel/package.json +6 -2
- package/node_modules/@jskit-ai/payments-core/CHANGELOG.md +128 -0
- package/node_modules/@jskit-ai/payments-core/locales/en.json +77 -0
- package/node_modules/@jskit-ai/payments-core/package.json +3 -2
- package/node_modules/@jskit-ai/realtime/CHANGELOG.md +20 -0
- package/node_modules/@jskit-ai/realtime/locales/en.json +14 -0
- package/node_modules/@jskit-ai/realtime/package.json +3 -2
- package/node_modules/@jskit-ai/resource-core/package.json +1 -1
- package/node_modules/@jskit-ai/resource-crud-core/package.json +1 -1
- package/node_modules/@jskit-ai/uploads-runtime/CHANGELOG.md +35 -0
- package/node_modules/@jskit-ai/uploads-runtime/locales/en.json +15 -0
- package/node_modules/@jskit-ai/uploads-runtime/package.json +3 -2
- package/node_modules/@local/vibe64-execution/src/host/execHelper.js +49 -48
- package/node_modules/@local/vibe64-execution/src/server/gitTurnCheckpointCommand.js +1327 -0
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +430 -390
- package/node_modules/@local/vibe64-genesis/src/server/index.js +45 -45
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +119 -119
- package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +57 -57
- package/node_modules/@local/vibe64-sessions/package.json +2 -1
- package/node_modules/@local/vibe64-terminals/src/server/opencodeSessionEnvironmentPlugin.js +195 -175
- package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +1385 -1362
- package/package.json +15 -15
- package/server.bundle.mjs +44206 -42825
- package/dist/assets/GithubBrowserTabs-D-Z3TlA8.js +0 -1
- package/dist/assets/Vibe64OutputControls-DtybwgL3.js +0 -8
- package/dist/assets/_slug_-Bq84T_Iv.js +0 -24
- package/dist/assets/conversation-Bn7wpATa.js +0 -2
- package/dist/assets/conversation-CNcCrV-R.js +0 -16
- package/dist/assets/definitions-CEbi4qae.js +0 -1
- package/dist/assets/env-X7EOFLtl.js +0 -1
- package/dist/assets/index-CBo1BEk6.js +0 -138
- package/dist/assets/issues-BiSiUd5o.js +0 -1
- package/dist/assets/placement-B5T1LR7m.js +0 -1
- package/dist/assets/publish-CeLZE2AG.js +0 -3
- package/dist/assets/pull-requests-pTdQOT7i.js +0 -1
- package/dist/assets/settings-lecRzZ-r.js +0 -1
- package/dist/assets/useArchivedVibe64Sessions-DHYRnyJD.js +0 -1
- package/dist/assets/useCommand-Epd2yHhQ.js +0 -1
- package/dist/assets/useEndpointResource-DBRQISI_.js +0 -1
- package/dist/assets/usePaths-DdAnjVDj.js +0 -1
- package/dist/assets/useVibe64ConversationLog-DboM3tYN.js +0 -1
- package/dist/assets/useVibe64SessionData-CreWtQAO.js +0 -1
- package/dist/assets/useVibe64SessionSelection-CDaX4uwY.js +0 -1
- package/dist/assets/vibe64ProjectScope.local-BxTBYuRg.js +0 -1
- package/dist/assets/vibe64RepositoryRealtime-C-J0I5jY.js +0 -1
- package/dist/assets/vibe64SessionFocus-DSW5Irm6.css +0 -1
- package/dist/assets/vibe64SessionFocus-DzqbVq60.js +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/connectors-catalog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
|
-
"./shared/ai": "./src/shared/ai.js",
|
|
6
|
+
"./shared/ai": "./src/shared/english-ai.js",
|
|
7
7
|
"./server/ai": "./src/server/ai.js",
|
|
8
|
-
"./shared": "./src/shared/definitions.js",
|
|
8
|
+
"./shared": "./src/shared/english-definitions.js",
|
|
9
9
|
"./server/resend": "./src/server/resend.js",
|
|
10
10
|
"./server/firecrawl": "./src/server/firecrawl.js",
|
|
11
11
|
"./server/gmail": "./src/server/gmail.js",
|
|
@@ -115,6 +115,7 @@
|
|
|
115
115
|
"./server/gemini-enterprise": "./src/server/gemini-enterprise.js",
|
|
116
116
|
"./server/workday": "./src/server/workday.js",
|
|
117
117
|
"./server/shopify": "./src/server/shopify.js",
|
|
118
|
-
"./server/wiz": "./src/server/wiz.js"
|
|
118
|
+
"./server/wiz": "./src/server/wiz.js",
|
|
119
|
+
"./locales/en.json": "./locales/en.json"
|
|
119
120
|
}
|
|
120
121
|
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.2.0 - 2026-10-29
|
|
4
|
+
|
|
5
|
+
- Translation ready: every user-visible text is a message key with its English in `locales/en.json`, so an app translates it by supplying translation files only. With no translations, texts and behaviour are unchanged. See the guide "Translating a JSKIT app".
|
|
6
|
+
- `ConnectorError` carries `messageCode`/`messageParams`; `MESSAGE_KEY_SOURCE` links an English provider definition to its keyed original.
|
|
7
|
+
- `createEnglishProviderTexts(catalog)` renders a keyed provider definition to its English.
|
|
8
|
+
|
|
9
|
+
### New message keys (80)
|
|
10
|
+
|
|
11
|
+
All keys in `locales/en.json` (exported as `./locales/en.json`) are new in this version.
|
|
12
|
+
|
|
13
|
+
<details><summary>Key list</summary>
|
|
14
|
+
|
|
15
|
+
- `jskit.connectors.configuration.accountModeUnsupported`
|
|
16
|
+
- `jskit.connectors.configuration.apiKeyRegistration`
|
|
17
|
+
- `jskit.connectors.configuration.assistantActionUndeclared`
|
|
18
|
+
- `jskit.connectors.configuration.clientAuthenticationUnsupported`
|
|
19
|
+
- `jskit.connectors.configuration.clientId`
|
|
20
|
+
- `jskit.connectors.configuration.confidentialClientRequired`
|
|
21
|
+
- `jskit.connectors.configuration.credentialModeUnsupported`
|
|
22
|
+
- `jskit.connectors.configuration.duplicateScope`
|
|
23
|
+
- `jskit.connectors.configuration.invalid`
|
|
24
|
+
- `jskit.connectors.configuration.invalidJson`
|
|
25
|
+
- `jskit.connectors.configuration.noCredentials`
|
|
26
|
+
- `jskit.connectors.configuration.oauthFlowUnsupported`
|
|
27
|
+
- `jskit.connectors.configuration.otherCredentialModeField`
|
|
28
|
+
- `jskit.connectors.configuration.otherCredentialModeSetting`
|
|
29
|
+
- `jskit.connectors.configuration.providerSettings`
|
|
30
|
+
- `jskit.connectors.configuration.providerUnregistered`
|
|
31
|
+
- `jskit.connectors.configuration.refreshTokenClientCredentials`
|
|
32
|
+
- `jskit.connectors.configuration.refreshTokenOAuthOnly`
|
|
33
|
+
- `jskit.connectors.configuration.refreshTokenSharedOnly`
|
|
34
|
+
- `jskit.connectors.configuration.registrationSecret`
|
|
35
|
+
- `jskit.connectors.configuration.registrationUndefined`
|
|
36
|
+
- `jskit.connectors.configuration.requiredScopes`
|
|
37
|
+
- `jskit.connectors.configuration.schemaVersionUnsupported`
|
|
38
|
+
- `jskit.connectors.configuration.scopeRequired`
|
|
39
|
+
- `jskit.connectors.configuration.scopeUnsupported`
|
|
40
|
+
- `jskit.connectors.configuration.serviceAccountPerUser`
|
|
41
|
+
- `jskit.connectors.configuration.serviceAccountRegistration`
|
|
42
|
+
- `jskit.connectors.configuration.stableName`
|
|
43
|
+
- `jskit.connectors.configuration.valueRequired`
|
|
44
|
+
- `jskit.connectors.connection.ambiguousPermissionGrant`
|
|
45
|
+
- `jskit.connectors.connection.apiKeyBindingMissingInvalid`
|
|
46
|
+
- `jskit.connectors.connection.assistantActionDisabled`
|
|
47
|
+
- `jskit.connectors.connection.authorizationAttemptInvalidExpired`
|
|
48
|
+
- `jskit.connectors.connection.authorizationCallbackInvalid`
|
|
49
|
+
- `jskit.connectors.connection.callbackDoesNotMatchRegistration`
|
|
50
|
+
- `jskit.connectors.connection.callbackUrlDoesNotMeet`
|
|
51
|
+
- `jskit.connectors.connection.checkOperationInputValues`
|
|
52
|
+
- `jskit.connectors.connection.configureHttpsCallbackUrlLocal`
|
|
53
|
+
- `jskit.connectors.connection.connectAccountAgain`
|
|
54
|
+
- `jskit.connectors.connection.connectAgainPermissionRequiredOperation`
|
|
55
|
+
- `jskit.connectors.connection.connectAgainPermissionRequiredVerification`
|
|
56
|
+
- `jskit.connectors.connection.connectionNotAllowed`
|
|
57
|
+
- `jskit.connectors.connection.envRefreshTokenRejected`
|
|
58
|
+
- `jskit.connectors.connection.envSeeded`
|
|
59
|
+
- `jskit.connectors.connection.integrationNotConfigured`
|
|
60
|
+
- `jskit.connectors.connection.operationCancelled`
|
|
61
|
+
- `jskit.connectors.connection.operationRequiresDifferentMethod`
|
|
62
|
+
- `jskit.connectors.connection.operationRequiresPermissionAbsentApplication`
|
|
63
|
+
- `jskit.connectors.connection.providerClientIdNotConfigured`
|
|
64
|
+
- `jskit.connectors.connection.providerDeniedOperation`
|
|
65
|
+
- `jskit.connectors.connection.providerDoesNotDeclareAssistant`
|
|
66
|
+
- `jskit.connectors.connection.providerDoesNotImplementService`
|
|
67
|
+
- `jskit.connectors.connection.providerInvalidCredentialPath`
|
|
68
|
+
- `jskit.connectors.connection.providerNonPkceFlowRequires`
|
|
69
|
+
- `jskit.connectors.connection.providerOperationInvalidDestination`
|
|
70
|
+
- `jskit.connectors.connection.providerOperationNotAvailable`
|
|
71
|
+
- `jskit.connectors.connection.providerRequestFailedTryAgain`
|
|
72
|
+
- `jskit.connectors.connection.providerRequestLimitReached`
|
|
73
|
+
- `jskit.connectors.connection.providerRequiresJsonRequestBody`
|
|
74
|
+
- `jskit.connectors.connection.providerReturnedInvalidAccountLabel`
|
|
75
|
+
- `jskit.connectors.connection.providerReturnedInvalidPermissionGrant`
|
|
76
|
+
- `jskit.connectors.connection.providerReturnedInvalidServiceAccount`
|
|
77
|
+
- `jskit.connectors.connection.providerReturnedUnexpectedResponse`
|
|
78
|
+
- `jskit.connectors.connection.refreshTokenBindingMissingInvalid`
|
|
79
|
+
- `jskit.connectors.connection.requiredEnvironmentBindingMissing`
|
|
80
|
+
- `jskit.connectors.connection.requiredRegistrationBindingMissing`
|
|
81
|
+
- `jskit.connectors.connection.runtimeDoesNotYetSupport`
|
|
82
|
+
- `jskit.connectors.connection.selectClientCredentialsConnectService`
|
|
83
|
+
- `jskit.connectors.connection.selectMatchingCredentialModeVerify`
|
|
84
|
+
- `jskit.connectors.connection.selectServiceAccountCredentialsVerify`
|
|
85
|
+
- `jskit.connectors.connection.serviceAccountCredentialBindingMissing`
|
|
86
|
+
- `jskit.connectors.connection.serviceAccountsConnectWithoutBrowser`
|
|
87
|
+
- `jskit.connectors.connection.serviceAccountsDoNotUse`
|
|
88
|
+
- `jskit.connectors.connection.verificationScopeAbsent`
|
|
89
|
+
- `jskit.errors.connector_approval_required`
|
|
90
|
+
- `jskit.errors.connector_consent_denied`
|
|
91
|
+
- `jskit.errors.connector_credentials_unavailable`
|
|
92
|
+
- `jskit.errors.connector_provider_timeout`
|
|
93
|
+
- `jskit.errors.connector_storage_invalid`
|
|
94
|
+
- `jskit.errors.integration_configuration_invalid`
|
|
95
|
+
|
|
96
|
+
</details>
|
|
97
|
+
|
|
98
|
+
### Codes (80)
|
|
99
|
+
|
|
100
|
+
Error, field-error and message codes this package sends, with their English. Undotted codes kept their existing values and render from `jskit.errors.<code>`.
|
|
101
|
+
|
|
102
|
+
| Code | English |
|
|
103
|
+
| --- | --- |
|
|
104
|
+
| `connectors.configuration.accountModeUnsupported` | This provider does not support this account mode. |
|
|
105
|
+
| `connectors.configuration.apiKeyRegistration` | API keys do not use an OAuth registration. |
|
|
106
|
+
| `connectors.configuration.assistantActionUndeclared` | This provider does not declare this assistant action. |
|
|
107
|
+
| `connectors.configuration.clientAuthenticationUnsupported` | This provider does not support this client authentication method. |
|
|
108
|
+
| `connectors.configuration.clientId` | Check this provider's client identifier. |
|
|
109
|
+
| `connectors.configuration.confidentialClientRequired` | Client credentials require a confidential client. |
|
|
110
|
+
| `connectors.configuration.credentialModeUnsupported` | This provider configuration does not support this credential mode. |
|
|
111
|
+
| `connectors.configuration.duplicateScope` | Select each permission only once. |
|
|
112
|
+
| `connectors.configuration.invalid` | Invalid configuration. |
|
|
113
|
+
| `connectors.configuration.invalidJson` | Enter valid JSON. |
|
|
114
|
+
| `connectors.configuration.noCredentials` | This mode does not use credentials. |
|
|
115
|
+
| `connectors.configuration.oauthFlowUnsupported` | This provider does not support this OAuth flow. |
|
|
116
|
+
| `connectors.configuration.otherCredentialModeField` | This field belongs to another credential mode. |
|
|
117
|
+
| `connectors.configuration.otherCredentialModeSetting` | This setting belongs to another credential mode. |
|
|
118
|
+
| `connectors.configuration.providerSettings` | Check this provider's settings. |
|
|
119
|
+
| `connectors.configuration.providerUnregistered` | Install and register this provider before using it. |
|
|
120
|
+
| `connectors.configuration.refreshTokenClientCredentials` | Client credentials do not use a refresh token. |
|
|
121
|
+
| `connectors.configuration.refreshTokenOAuthOnly` | Only an OAuth connection can start from a refresh token. |
|
|
122
|
+
| `connectors.configuration.refreshTokenSharedOnly` | Only a shared connection can start from a refresh token in Env. |
|
|
123
|
+
| `connectors.configuration.registrationSecret` | Use the registration's secret reference. |
|
|
124
|
+
| `connectors.configuration.registrationUndefined` | Select a registration defined in this file. |
|
|
125
|
+
| `connectors.configuration.requiredScopes` | Include this provider's required permissions. |
|
|
126
|
+
| `connectors.configuration.schemaVersionUnsupported` | Use numeric schemaVersion 1; other versions require an explicit migration. |
|
|
127
|
+
| `connectors.configuration.scopeRequired` | Select at least one permission. |
|
|
128
|
+
| `connectors.configuration.scopeUnsupported` | A selected permission is not supported by this provider configuration. |
|
|
129
|
+
| `connectors.configuration.serviceAccountPerUser` | A service account cannot connect as each app user. |
|
|
130
|
+
| `connectors.configuration.serviceAccountRegistration` | Service-account credentials do not use a browser OAuth registration. |
|
|
131
|
+
| `connectors.configuration.stableName` | Use a stable lowercase name containing letters, digits and hyphens. |
|
|
132
|
+
| `connectors.configuration.valueRequired` | This value is required. |
|
|
133
|
+
| `connectors.connection.ambiguousPermissionGrant` | The provider did not return an unambiguous permission grant. |
|
|
134
|
+
| `connectors.connection.apiKeyBindingMissingInvalid` | The API key binding is missing or invalid. |
|
|
135
|
+
| `connectors.connection.assistantActionDisabled` | This assistant action is disabled. |
|
|
136
|
+
| `connectors.connection.authorizationAttemptInvalidExpired` | The authorization attempt is invalid or has expired. |
|
|
137
|
+
| `connectors.connection.authorizationCallbackInvalid` | The authorization callback is invalid. |
|
|
138
|
+
| `connectors.connection.callbackDoesNotMatchRegistration` | The callback does not match this registration. |
|
|
139
|
+
| `connectors.connection.callbackUrlDoesNotMeet` | The callback URL does not meet this provider's requirements. |
|
|
140
|
+
| `connectors.connection.checkOperationInputValues` | Check the operation's input values. |
|
|
141
|
+
| `connectors.connection.configureHttpsCallbackUrlLocal` | Configure an HTTPS callback URL, or a local development callback. |
|
|
142
|
+
| `connectors.connection.connectAccountAgain` | Connect this account again. |
|
|
143
|
+
| `connectors.connection.connectAgainPermissionRequiredOperation` | Connect again with the permission required for this operation. |
|
|
144
|
+
| `connectors.connection.connectAgainPermissionRequiredVerification` | Connect again with the permission required for verification. |
|
|
145
|
+
| `connectors.connection.connectionNotAllowed` | You cannot use this connection. |
|
|
146
|
+
| `connectors.connection.envRefreshTokenRejected` | The refresh token in Env no longer works; replace that Env value. |
|
|
147
|
+
| `connectors.connection.envSeeded` | This connection comes from an Env value; unlink or replace that value instead. |
|
|
148
|
+
| `connectors.connection.integrationNotConfigured` | This integration is not configured. |
|
|
149
|
+
| `connectors.connection.operationCancelled` | The operation was cancelled. |
|
|
150
|
+
| `connectors.connection.operationRequiresDifferentMethod` | This operation requires a different connection method. |
|
|
151
|
+
| `connectors.connection.operationRequiresPermissionAbsentApplication` | This operation requires a permission absent from the application's configuration. |
|
|
152
|
+
| `connectors.connection.providerClientIdNotConfigured` | The provider client ID is not configured. |
|
|
153
|
+
| `connectors.connection.providerDeniedOperation` | The provider denied this operation. |
|
|
154
|
+
| `connectors.connection.providerDoesNotDeclareAssistant` | This provider does not declare this assistant action. |
|
|
155
|
+
| `connectors.connection.providerDoesNotImplementService` | This provider does not implement service-account authorization. |
|
|
156
|
+
| `connectors.connection.providerInvalidCredentialPath` | This provider has an invalid credential path. |
|
|
157
|
+
| `connectors.connection.providerNonPkceFlowRequires` | This provider's non-PKCE flow requires a confidential client. |
|
|
158
|
+
| `connectors.connection.providerOperationInvalidDestination` | The provider operation has an invalid destination. |
|
|
159
|
+
| `connectors.connection.providerOperationNotAvailable` | This provider operation is not available. |
|
|
160
|
+
| `connectors.connection.providerRequestFailedTryAgain` | The provider request failed. Try again. |
|
|
161
|
+
| `connectors.connection.providerRequestLimitReached` | The provider's request limit was reached. |
|
|
162
|
+
| `connectors.connection.providerRequiresJsonRequestBody` | This provider requires a JSON request body. |
|
|
163
|
+
| `connectors.connection.providerReturnedInvalidAccountLabel` | The provider returned an invalid account label. |
|
|
164
|
+
| `connectors.connection.providerReturnedInvalidPermissionGrant` | The provider returned an invalid permission grant. |
|
|
165
|
+
| `connectors.connection.providerReturnedInvalidServiceAccount` | The provider returned an invalid service-account token. |
|
|
166
|
+
| `connectors.connection.providerReturnedUnexpectedResponse` | The provider returned an unexpected response. |
|
|
167
|
+
| `connectors.connection.refreshTokenBindingMissingInvalid` | The refresh token binding is missing or invalid. |
|
|
168
|
+
| `connectors.connection.requiredEnvironmentBindingMissing` | A required environment binding is missing. |
|
|
169
|
+
| `connectors.connection.requiredRegistrationBindingMissing` | A required registration binding is missing. |
|
|
170
|
+
| `connectors.connection.runtimeDoesNotYetSupport` | This runtime does not yet support the selected credential mode. |
|
|
171
|
+
| `connectors.connection.selectClientCredentialsConnectService` | Select client credentials to connect a service account. |
|
|
172
|
+
| `connectors.connection.selectMatchingCredentialModeVerify` | Select the matching credential mode to verify this connection. |
|
|
173
|
+
| `connectors.connection.selectServiceAccountCredentialsVerify` | Select service-account credentials to verify this connection. |
|
|
174
|
+
| `connectors.connection.serviceAccountCredentialBindingMissing` | The service-account credential binding is missing or invalid. |
|
|
175
|
+
| `connectors.connection.serviceAccountsConnectWithoutBrowser` | Service accounts connect without browser consent. |
|
|
176
|
+
| `connectors.connection.serviceAccountsDoNotUse` | Service accounts do not use an authorization callback. |
|
|
177
|
+
| `connectors.connection.verificationScopeAbsent` | Connection verification requires a permission absent from the application's configuration. |
|
|
178
|
+
| `connector_approval_required` | Approve this assistant action before continuing. |
|
|
179
|
+
| `connector_consent_denied` | Account access was declined. |
|
|
180
|
+
| `connector_credentials_unavailable` | Stored credentials could not be opened. |
|
|
181
|
+
| `connector_provider_timeout` | The provider request timed out. Try again. |
|
|
182
|
+
| `connector_storage_invalid` | Connection state could not be read safely. |
|
|
183
|
+
| `integration_configuration_invalid` | Integration configuration is invalid. |
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"jskit": {
|
|
3
|
+
"connectors": {
|
|
4
|
+
"configuration": {
|
|
5
|
+
"accountModeUnsupported": "This provider does not support this account mode.",
|
|
6
|
+
"apiKeyRegistration": "API keys do not use an OAuth registration.",
|
|
7
|
+
"assistantActionUndeclared": "This provider does not declare this assistant action.",
|
|
8
|
+
"clientAuthenticationUnsupported": "This provider does not support this client authentication method.",
|
|
9
|
+
"clientId": "Check this provider's client identifier.",
|
|
10
|
+
"confidentialClientRequired": "Client credentials require a confidential client.",
|
|
11
|
+
"credentialModeUnsupported": "This provider configuration does not support this credential mode.",
|
|
12
|
+
"duplicateScope": "Select each permission only once.",
|
|
13
|
+
"invalid": "Invalid configuration.",
|
|
14
|
+
"invalidJson": "Enter valid JSON.",
|
|
15
|
+
"noCredentials": "This mode does not use credentials.",
|
|
16
|
+
"oauthFlowUnsupported": "This provider does not support this OAuth flow.",
|
|
17
|
+
"otherCredentialModeField": "This field belongs to another credential mode.",
|
|
18
|
+
"otherCredentialModeSetting": "This setting belongs to another credential mode.",
|
|
19
|
+
"providerSettings": "Check this provider's settings.",
|
|
20
|
+
"providerUnregistered": "Install and register this provider before using it.",
|
|
21
|
+
"refreshTokenClientCredentials": "Client credentials do not use a refresh token.",
|
|
22
|
+
"refreshTokenOAuthOnly": "Only an OAuth connection can start from a refresh token.",
|
|
23
|
+
"refreshTokenSharedOnly": "Only a shared connection can start from a refresh token in Env.",
|
|
24
|
+
"registrationSecret": "Use the registration's secret reference.",
|
|
25
|
+
"registrationUndefined": "Select a registration defined in this file.",
|
|
26
|
+
"requiredScopes": "Include this provider's required permissions.",
|
|
27
|
+
"schemaVersionUnsupported": "Use numeric schemaVersion 1; other versions require an explicit migration.",
|
|
28
|
+
"scopeRequired": "Select at least one permission.",
|
|
29
|
+
"scopeUnsupported": "A selected permission is not supported by this provider configuration.",
|
|
30
|
+
"serviceAccountPerUser": "A service account cannot connect as each app user.",
|
|
31
|
+
"serviceAccountRegistration": "Service-account credentials do not use a browser OAuth registration.",
|
|
32
|
+
"stableName": "Use a stable lowercase name containing letters, digits and hyphens.",
|
|
33
|
+
"valueRequired": "This value is required."
|
|
34
|
+
},
|
|
35
|
+
"connection": {
|
|
36
|
+
"ambiguousPermissionGrant": "The provider did not return an unambiguous permission grant.",
|
|
37
|
+
"apiKeyBindingMissingInvalid": "The API key binding is missing or invalid.",
|
|
38
|
+
"assistantActionDisabled": "This assistant action is disabled.",
|
|
39
|
+
"authorizationAttemptInvalidExpired": "The authorization attempt is invalid or has expired.",
|
|
40
|
+
"authorizationCallbackInvalid": "The authorization callback is invalid.",
|
|
41
|
+
"callbackDoesNotMatchRegistration": "The callback does not match this registration.",
|
|
42
|
+
"callbackUrlDoesNotMeet": "The callback URL does not meet this provider's requirements.",
|
|
43
|
+
"checkOperationInputValues": "Check the operation's input values.",
|
|
44
|
+
"configureHttpsCallbackUrlLocal": "Configure an HTTPS callback URL, or a local development callback.",
|
|
45
|
+
"connectAccountAgain": "Connect this account again.",
|
|
46
|
+
"connectAgainPermissionRequiredOperation": "Connect again with the permission required for this operation.",
|
|
47
|
+
"connectAgainPermissionRequiredVerification": "Connect again with the permission required for verification.",
|
|
48
|
+
"connectionNotAllowed": "You cannot use this connection.",
|
|
49
|
+
"envRefreshTokenRejected": "The refresh token in Env no longer works; replace that Env value.",
|
|
50
|
+
"envSeeded": "This connection comes from an Env value; unlink or replace that value instead.",
|
|
51
|
+
"integrationNotConfigured": "This integration is not configured.",
|
|
52
|
+
"operationCancelled": "The operation was cancelled.",
|
|
53
|
+
"operationRequiresDifferentMethod": "This operation requires a different connection method.",
|
|
54
|
+
"operationRequiresPermissionAbsentApplication": "This operation requires a permission absent from the application's configuration.",
|
|
55
|
+
"providerClientIdNotConfigured": "The provider client ID is not configured.",
|
|
56
|
+
"providerDeniedOperation": "The provider denied this operation.",
|
|
57
|
+
"providerDoesNotDeclareAssistant": "This provider does not declare this assistant action.",
|
|
58
|
+
"providerDoesNotImplementService": "This provider does not implement service-account authorization.",
|
|
59
|
+
"providerInvalidCredentialPath": "This provider has an invalid credential path.",
|
|
60
|
+
"providerNonPkceFlowRequires": "This provider's non-PKCE flow requires a confidential client.",
|
|
61
|
+
"providerOperationInvalidDestination": "The provider operation has an invalid destination.",
|
|
62
|
+
"providerOperationNotAvailable": "This provider operation is not available.",
|
|
63
|
+
"providerRequestFailedTryAgain": "The provider request failed. Try again.",
|
|
64
|
+
"providerRequestLimitReached": "The provider's request limit was reached.",
|
|
65
|
+
"providerRequiresJsonRequestBody": "This provider requires a JSON request body.",
|
|
66
|
+
"providerReturnedInvalidAccountLabel": "The provider returned an invalid account label.",
|
|
67
|
+
"providerReturnedInvalidPermissionGrant": "The provider returned an invalid permission grant.",
|
|
68
|
+
"providerReturnedInvalidServiceAccount": "The provider returned an invalid service-account token.",
|
|
69
|
+
"providerReturnedUnexpectedResponse": "The provider returned an unexpected response.",
|
|
70
|
+
"refreshTokenBindingMissingInvalid": "The refresh token binding is missing or invalid.",
|
|
71
|
+
"requiredEnvironmentBindingMissing": "A required environment binding is missing.",
|
|
72
|
+
"requiredRegistrationBindingMissing": "A required registration binding is missing.",
|
|
73
|
+
"runtimeDoesNotYetSupport": "This runtime does not yet support the selected credential mode.",
|
|
74
|
+
"selectClientCredentialsConnectService": "Select client credentials to connect a service account.",
|
|
75
|
+
"selectMatchingCredentialModeVerify": "Select the matching credential mode to verify this connection.",
|
|
76
|
+
"selectServiceAccountCredentialsVerify": "Select service-account credentials to verify this connection.",
|
|
77
|
+
"serviceAccountCredentialBindingMissing": "The service-account credential binding is missing or invalid.",
|
|
78
|
+
"serviceAccountsConnectWithoutBrowser": "Service accounts connect without browser consent.",
|
|
79
|
+
"serviceAccountsDoNotUse": "Service accounts do not use an authorization callback.",
|
|
80
|
+
"verificationScopeAbsent": "Connection verification requires a permission absent from the application's configuration."
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"errors": {
|
|
84
|
+
"connector_approval_required": "Approve this assistant action before continuing.",
|
|
85
|
+
"connector_consent_denied": "Account access was declined.",
|
|
86
|
+
"connector_credentials_unavailable": "Stored credentials could not be opened.",
|
|
87
|
+
"connector_provider_timeout": "The provider request timed out. Try again.",
|
|
88
|
+
"connector_storage_invalid": "Connection state could not be read safely.",
|
|
89
|
+
"integration_configuration_invalid": "Integration configuration is invalid."
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/connectors-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./shared/configuration": "./src/shared/configuration.js",
|
|
7
7
|
"./server": "./src/server/index.js",
|
|
8
8
|
"./server/storage": "./src/server/storage.js",
|
|
9
|
-
"./server/file-storage": "./src/server/fileStorage.js"
|
|
9
|
+
"./server/file-storage": "./src/server/fileStorage.js",
|
|
10
|
+
"./locales/en.json": "./locales/en.json"
|
|
10
11
|
}
|
|
11
12
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.2.0 - 2026-10-29
|
|
4
|
+
|
|
5
|
+
- Translation ready: every user-visible text is a message key with its English in `locales/en.json`, so an app translates it by supplying translation files only. With no translations, texts and behaviour are unchanged. See the guide "Translating a JSKIT app".
|
|
6
|
+
- Error responses include `params`, `messageCode` and `messageParams`; JSON:API `errors[].meta` carries them and the field-error code.
|
|
7
|
+
- A request body that fails its schema outside JSON:API returns `validation_failed` with `details.fieldErrors` and `details.fieldErrorCodes`.
|
|
8
|
+
|
|
9
|
+
### New message keys (4)
|
|
10
|
+
|
|
11
|
+
All keys in `locales/en.json` (exported as `./locales/en.json`) are new in this version.
|
|
12
|
+
|
|
13
|
+
<details><summary>Key list</summary>
|
|
14
|
+
|
|
15
|
+
- `jskit.http.request.failedWithStatus`
|
|
16
|
+
- `jskit.http.request.networkFailed`
|
|
17
|
+
- `jskit.errors.jsonapi_request_body_invalid`
|
|
18
|
+
- `jskit.errors.jsonapi_request_type_mismatch`
|
|
19
|
+
|
|
20
|
+
</details>
|
|
21
|
+
|
|
22
|
+
### Codes (4)
|
|
23
|
+
|
|
24
|
+
Error, field-error and message codes this package sends, with their English. Undotted codes kept their existing values and render from `jskit.errors.<code>`.
|
|
25
|
+
|
|
26
|
+
| Code | English |
|
|
27
|
+
| --- | --- |
|
|
28
|
+
| `http.request.failedWithStatus` | Request failed with status {status}. |
|
|
29
|
+
| `http.request.networkFailed` | Network request failed. |
|
|
30
|
+
| `jsonapi_request_body_invalid` | JSON:API request body must contain a resource document. |
|
|
31
|
+
| `jsonapi_request_type_mismatch` | JSON:API resource type must be {type}. |
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"jskit": {
|
|
3
|
+
"http": {
|
|
4
|
+
"request": {
|
|
5
|
+
"failedWithStatus": "Request failed with status {status}.",
|
|
6
|
+
"networkFailed": "Network request failed."
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"errors": {
|
|
10
|
+
"jsonapi_request_body_invalid": "JSON:API request body must contain a resource document.",
|
|
11
|
+
"jsonapi_request_type_mismatch": "JSON:API resource type must be {type}."
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/http-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./client": "./src/client/index.js",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"./shared/validators/errorResponses": "./src/shared/validators/errorResponses.js",
|
|
9
9
|
"./shared/validators/jsonApiResult": "./src/shared/validators/jsonApiResult.js",
|
|
10
10
|
"./shared/validators/jsonApiRouteTransport": "./src/shared/validators/jsonApiRouteTransport.js",
|
|
11
|
-
"./shared/validators/operationValidation": "./src/shared/validators/operationValidation.js"
|
|
11
|
+
"./shared/validators/operationValidation": "./src/shared/validators/operationValidation.js",
|
|
12
|
+
"./locales/en.json": "./locales/en.json"
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.2.0 - 2026-10-29
|
|
4
|
+
|
|
5
|
+
- Translation ready: every user-visible text is a message key with its English in `locales/en.json`, so an app translates it by supplying translation files only. With no translations, texts and behaviour are unchanged. See the guide "Translating a JSKIT app".
|
|
6
|
+
- `AppError` takes `{ code, params, messageCode, messageParams }`; every error response carries `code` and `params` next to the English `message`.
|
|
7
|
+
- `createValidationError` accepts `{ field: { code, params, message } }`; responses keep `details.fieldErrors` (English) and add `details.fieldErrorCodes`.
|
|
8
|
+
- Request validation maps Fastify/Ajv issues to `kernel.validation.*` field codes; resource-schema messages may be `{ code, message, params }`.
|
|
9
|
+
- Client: `useJskitText()` (`t`, `text`, `serverMessage`, `fieldErrorMessages`, Intl formatting helpers), `createTextError`, `registerJskitMessages`, and `bootstrapClientShellApp({ i18n })` for the app's composition-mode vue-i18n instance (optional peer dependency `vue-i18n`).
|
|
10
|
+
- Server: `createServerI18n({ appRoot, catalogs })` renders messages in a recipient's language from the app's `src/locales/<code>/jskit.json`.
|
|
11
|
+
- Shared: `formatMessage`, `catalogMessage`, `mergeCatalogs`, `flattenCatalog`, `messageKeyForCode`, `messageParams`.
|
|
12
|
+
- `serverMessage(source, fallback)` returns the fallback when the source has no message, as `message || fallback` did.
|
|
13
|
+
|
|
14
|
+
### Upgrading
|
|
15
|
+
|
|
16
|
+
- Apps translate nothing until they pass a vue-i18n instance; screens and texts stay as they were.
|
|
17
|
+
- Tests that compare whole error payloads exactly: every error response now has `params` (often `{}`), and some have `messageCode`/`messageParams` (a hidden 5xx answer carries `messageCode: "internal_server_error"`). Match the fields you need instead.
|
|
18
|
+
- Tests or code that expect `APP_ERROR` for a JSKIT error: errors that used to fall back to `APP_ERROR` now have their own dotted codes (listed in each package's Codes table), and `createValidationError` answers `validation_failed`. Codes that already existed keep their values.
|
|
19
|
+
- A plain-JSON (non-JSON:API) request body that fails its schema now answers `validation_failed` with `details.fieldErrors`, instead of `request_failed`, so JSKIT forms show the error next to the field.
|
|
20
|
+
|
|
21
|
+
### New message keys (74)
|
|
22
|
+
|
|
23
|
+
All keys in `locales/en.json` (exported as `./locales/en.json`) are new in this version.
|
|
24
|
+
|
|
25
|
+
<details><summary>Key list</summary>
|
|
26
|
+
|
|
27
|
+
- `jskit.errors.internal_server_error`
|
|
28
|
+
- `jskit.errors.request_failed`
|
|
29
|
+
- `jskit.errors.validation_failed`
|
|
30
|
+
- `jskit.errors.FST_ERR_VALIDATION`
|
|
31
|
+
- `jskit.errors.not_found`
|
|
32
|
+
- `jskit.errors.conflict`
|
|
33
|
+
- `jskit.errors.domain_validation_failed`
|
|
34
|
+
- `jskit.errors.AUTHENTICATION_REQUIRED`
|
|
35
|
+
- `jskit.errors.PERMISSION_DENIED`
|
|
36
|
+
- `jskit.errors.ACTION_AUTHENTICATION_REQUIRED`
|
|
37
|
+
- `jskit.errors.ACTION_CHANNEL_FORBIDDEN`
|
|
38
|
+
- `jskit.errors.ACTION_PERMISSION_DENIED`
|
|
39
|
+
- `jskit.errors.ACTION_SURFACE_FORBIDDEN`
|
|
40
|
+
- `jskit.errors.ACTION_NOT_FOUND`
|
|
41
|
+
- `jskit.errors.ACTION_VALIDATION_FAILED`
|
|
42
|
+
- `jskit.errors.ACTION_IDEMPOTENCY_KEY_REQUIRED`
|
|
43
|
+
- `jskit.errors.ACTION_ID_REQUIRED`
|
|
44
|
+
- `jskit.errors.ACTION_STREAM_KIND_REQUIRED`
|
|
45
|
+
- `jskit.errors.ACTION_VERSION_INVALID`
|
|
46
|
+
- `jskit.errors.ACTION_OUTPUT_VALIDATION_FAILED`
|
|
47
|
+
- `jskit.errors.unsupported_media_type`
|
|
48
|
+
- `jskit.kernel.validation.required`
|
|
49
|
+
- `jskit.kernel.validation.type`
|
|
50
|
+
- `jskit.kernel.validation.minLength`
|
|
51
|
+
- `jskit.kernel.validation.maxLength`
|
|
52
|
+
- `jskit.kernel.validation.minimum`
|
|
53
|
+
- `jskit.kernel.validation.maximum`
|
|
54
|
+
- `jskit.kernel.validation.exclusiveMinimum`
|
|
55
|
+
- `jskit.kernel.validation.exclusiveMaximum`
|
|
56
|
+
- `jskit.kernel.validation.multipleOf`
|
|
57
|
+
- `jskit.kernel.validation.pattern`
|
|
58
|
+
- `jskit.kernel.validation.format`
|
|
59
|
+
- `jskit.kernel.validation.enum`
|
|
60
|
+
- `jskit.kernel.validation.const`
|
|
61
|
+
- `jskit.kernel.validation.minItems`
|
|
62
|
+
- `jskit.kernel.validation.maxItems`
|
|
63
|
+
- `jskit.kernel.validation.additionalItems`
|
|
64
|
+
- `jskit.kernel.validation.uniqueItems`
|
|
65
|
+
- `jskit.kernel.validation.minProperties`
|
|
66
|
+
- `jskit.kernel.validation.maxProperties`
|
|
67
|
+
- `jskit.kernel.validation.additionalProperties`
|
|
68
|
+
- `jskit.kernel.validation.propertyNames`
|
|
69
|
+
- `jskit.kernel.validation.oneOf`
|
|
70
|
+
- `jskit.kernel.validation.anyOf`
|
|
71
|
+
- `jskit.kernel.validation.not`
|
|
72
|
+
- `jskit.kernel.validation.if`
|
|
73
|
+
- `jskit.kernel.validation.invalid`
|
|
74
|
+
- `jskit.kernel.validation.schemaFailed`
|
|
75
|
+
- `jskit.kernel.validation.recordIdInvalid`
|
|
76
|
+
- `jskit.kernel.validation.field.required`
|
|
77
|
+
- `jskit.kernel.validation.field.typeCastFailed`
|
|
78
|
+
- `jskit.kernel.validation.field.notNullable`
|
|
79
|
+
- `jskit.kernel.validation.field.minLength`
|
|
80
|
+
- `jskit.kernel.validation.field.maxLength`
|
|
81
|
+
- `jskit.kernel.validation.field.minValue`
|
|
82
|
+
- `jskit.kernel.validation.field.maxValue`
|
|
83
|
+
- `jskit.kernel.validation.field.pattern`
|
|
84
|
+
- `jskit.kernel.validation.field.enumValue`
|
|
85
|
+
- `jskit.kernel.validation.field.notAllowed`
|
|
86
|
+
- `jskit.kernel.validation.field.strictBoolean`
|
|
87
|
+
- `jskit.kernel.validation.field.rangeExceeded`
|
|
88
|
+
- `jskit.kernel.validation.field.notEmpty`
|
|
89
|
+
- `jskit.kernel.action.versionInvalid`
|
|
90
|
+
- `jskit.kernel.action.idRequired`
|
|
91
|
+
- `jskit.kernel.action.idempotencyKeyRequired`
|
|
92
|
+
- `jskit.kernel.route.handlerUnavailable`
|
|
93
|
+
- `jskit.kernel.surface.pathNotServed`
|
|
94
|
+
- `jskit.kernel.moduleLoad.appModuleNotDownloaded`
|
|
95
|
+
- `jskit.kernel.moduleLoad.appModuleFailed`
|
|
96
|
+
- `jskit.kernel.moduleLoad.pageNotDownloaded`
|
|
97
|
+
- `jskit.kernel.moduleLoad.pageFailed`
|
|
98
|
+
- `jskit.kernel.moduleLoad.notDownloaded`
|
|
99
|
+
- `jskit.kernel.moduleLoad.failed`
|
|
100
|
+
- `jskit.kernel.moduleLoad.reloadUnavailable`
|
|
101
|
+
|
|
102
|
+
</details>
|
|
103
|
+
|
|
104
|
+
### Codes (73)
|
|
105
|
+
|
|
106
|
+
Error, field-error and message codes this package sends, with their English. Undotted codes kept their existing values and render from `jskit.errors.<code>`.
|
|
107
|
+
|
|
108
|
+
| Code | English |
|
|
109
|
+
| --- | --- |
|
|
110
|
+
| `internal_server_error` | Internal server error. |
|
|
111
|
+
| `request_failed` | Request failed. |
|
|
112
|
+
| `validation_failed` | Validation failed. |
|
|
113
|
+
| `not_found` | Not found. |
|
|
114
|
+
| `conflict` | Conflict. |
|
|
115
|
+
| `domain_validation_failed` | Domain validation failed. |
|
|
116
|
+
| `AUTHENTICATION_REQUIRED` | Authentication required. |
|
|
117
|
+
| `PERMISSION_DENIED` | Forbidden. |
|
|
118
|
+
| `ACTION_AUTHENTICATION_REQUIRED` | Authentication required. |
|
|
119
|
+
| `ACTION_CHANNEL_FORBIDDEN` | Forbidden. |
|
|
120
|
+
| `ACTION_PERMISSION_DENIED` | Forbidden. |
|
|
121
|
+
| `ACTION_SURFACE_FORBIDDEN` | Forbidden. |
|
|
122
|
+
| `ACTION_NOT_FOUND` | Not found. |
|
|
123
|
+
| `ACTION_VALIDATION_FAILED` | Validation failed. |
|
|
124
|
+
| `ACTION_IDEMPOTENCY_KEY_REQUIRED` | Validation failed. |
|
|
125
|
+
| `ACTION_ID_REQUIRED` | Validation failed. |
|
|
126
|
+
| `ACTION_STREAM_KIND_REQUIRED` | Validation failed. |
|
|
127
|
+
| `ACTION_VERSION_INVALID` | Validation failed. |
|
|
128
|
+
| `ACTION_OUTPUT_VALIDATION_FAILED` | Action output validation failed. |
|
|
129
|
+
| `unsupported_media_type` | Content-Type must be {contentType}. |
|
|
130
|
+
| `kernel.validation.required` | must have required property '{missingProperty}' |
|
|
131
|
+
| `kernel.validation.type` | must be {type} |
|
|
132
|
+
| `kernel.validation.minLength` | must NOT have fewer than {limit} characters |
|
|
133
|
+
| `kernel.validation.maxLength` | must NOT have more than {limit} characters |
|
|
134
|
+
| `kernel.validation.minimum` | must be >= {limit} |
|
|
135
|
+
| `kernel.validation.maximum` | must be <= {limit} |
|
|
136
|
+
| `kernel.validation.exclusiveMinimum` | must be > {limit} |
|
|
137
|
+
| `kernel.validation.exclusiveMaximum` | must be < {limit} |
|
|
138
|
+
| `kernel.validation.multipleOf` | must be multiple of {multipleOf} |
|
|
139
|
+
| `kernel.validation.pattern` | must match pattern "{pattern}" |
|
|
140
|
+
| `kernel.validation.format` | must match format "{format}" |
|
|
141
|
+
| `kernel.validation.enum` | must be equal to one of the allowed values |
|
|
142
|
+
| `kernel.validation.const` | must be equal to constant |
|
|
143
|
+
| `kernel.validation.minItems` | must NOT have fewer than {limit} items |
|
|
144
|
+
| `kernel.validation.maxItems` | must NOT have more than {limit} items |
|
|
145
|
+
| `kernel.validation.additionalItems` | must NOT have more than {limit} items |
|
|
146
|
+
| `kernel.validation.uniqueItems` | must NOT have duplicate items (items ## {j} and {i} are identical) |
|
|
147
|
+
| `kernel.validation.minProperties` | must NOT have fewer than {limit} properties |
|
|
148
|
+
| `kernel.validation.maxProperties` | must NOT have more than {limit} properties |
|
|
149
|
+
| `kernel.validation.additionalProperties` | must NOT have additional properties |
|
|
150
|
+
| `kernel.validation.propertyNames` | property name must be valid |
|
|
151
|
+
| `kernel.validation.oneOf` | must match exactly one schema in oneOf |
|
|
152
|
+
| `kernel.validation.anyOf` | must match a schema in anyOf |
|
|
153
|
+
| `kernel.validation.not` | must NOT be valid |
|
|
154
|
+
| `kernel.validation.if` | must match "{failingKeyword}" schema |
|
|
155
|
+
| `kernel.validation.invalid` | Invalid value. |
|
|
156
|
+
| `kernel.validation.schemaFailed` | Schema validation failed. |
|
|
157
|
+
| `kernel.validation.recordIdInvalid` | Record id must be a canonical positive integer string. |
|
|
158
|
+
| `kernel.validation.field.required` | Field is required |
|
|
159
|
+
| `kernel.validation.field.typeCastFailed` | Value could not be cast to the required type. |
|
|
160
|
+
| `kernel.validation.field.notNullable` | Field cannot be null |
|
|
161
|
+
| `kernel.validation.field.minLength` | Length must be at least {min} characters. |
|
|
162
|
+
| `kernel.validation.field.maxLength` | Length must be no more than {max} characters. |
|
|
163
|
+
| `kernel.validation.field.minValue` | Value must be at least {min}. |
|
|
164
|
+
| `kernel.validation.field.maxValue` | Value must be no more than {max}. |
|
|
165
|
+
| `kernel.validation.field.pattern` | Value does not match the required pattern. |
|
|
166
|
+
| `kernel.validation.field.enumValue` | Value must match one of the allowed enum values. |
|
|
167
|
+
| `kernel.validation.field.notAllowed` | Field not allowed |
|
|
168
|
+
| `kernel.validation.field.strictBoolean` | Value must be a boolean. |
|
|
169
|
+
| `kernel.validation.field.rangeExceeded` | Numeric value is out of the allowed character range. |
|
|
170
|
+
| `kernel.validation.field.notEmpty` | Field cannot be empty. |
|
|
171
|
+
| `kernel.action.versionInvalid` | version must be an integer >= 1. |
|
|
172
|
+
| `kernel.action.idRequired` | actionId is required. |
|
|
173
|
+
| `kernel.action.idempotencyKeyRequired` | Idempotency key is required for this action. |
|
|
174
|
+
| `kernel.route.handlerUnavailable` | Route handler is not available in this runtime profile. |
|
|
175
|
+
| `kernel.surface.pathNotServed` | Path {path} is not served by {surface} surface server. |
|
|
176
|
+
| `kernel.moduleLoad.appModuleNotDownloaded` | App module did not download. The app may have been updated, or the network request failed. |
|
|
177
|
+
| `kernel.moduleLoad.appModuleFailed` | App module could not load. |
|
|
178
|
+
| `kernel.moduleLoad.pageNotDownloaded` | Page did not download. The app may have been updated, or the network request failed. |
|
|
179
|
+
| `kernel.moduleLoad.pageFailed` | Page could not load. |
|
|
180
|
+
| `kernel.moduleLoad.notDownloaded` | {label} did not download. The app may have been updated, or the network request failed. |
|
|
181
|
+
| `kernel.moduleLoad.failed` | {label} could not load. |
|
|
182
|
+
| `kernel.moduleLoad.reloadUnavailable` | The app cannot reload because the app server is not reachable. Restart the server, then click Retry or Reload. |
|