vibe64 0.1.66 → 0.1.67
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 +1986 -1348
- package/bin/server.js +210 -207
- package/bin/upgrade-state.js +3862 -3786
- package/dist/assets/{GithubBrowserTabs-Bf5z_PiF.js → GithubBrowserTabs-CW3GBeJu.js} +1 -1
- package/dist/assets/{LocalDatabaseServer-CcfGbn7H.js → LocalDatabaseServer-DYh3UF9q.js} +1 -1
- package/dist/assets/{ShellOutlet-DPyl05um.js → ShellOutlet-DkLdtzJW.js} +1 -1
- package/dist/assets/{Vibe64AuthSettingsButton-CxJoeOhz.js → Vibe64AuthSettingsButton-Cksj7FS6.js} +1 -1
- package/dist/assets/{Vibe64AuthSettingsButton-DFfFPrd7.css → Vibe64AuthSettingsButton-DfKYI6ZS.css} +1 -1
- package/dist/assets/{Vibe64ConversationLog-jDb_ZvIF.js → Vibe64ConversationLog-BC0eDtUP.js} +1 -1
- package/dist/assets/{Vibe64DashboardShell-Ce1PNB37.js → Vibe64DashboardShell-DX5dOXAB.js} +1 -1
- package/dist/assets/{Vibe64DatabaseWorkspace-DiZDKEpx.js → Vibe64DatabaseWorkspace-8i-RDc9y.js} +1 -1
- package/dist/assets/{Vibe64FileArea-uRnIJ0Vp.js → Vibe64FileArea-EK5yUio3.js} +1 -1
- package/dist/assets/{Vibe64OutputControls-BF5kh2_h.js → Vibe64OutputControls--LB4G83q.js} +1 -1
- package/dist/assets/{Vibe64SessionFiles-CxgPB8RR.js → Vibe64SessionFiles-DVHGc7hd.js} +1 -1
- package/dist/assets/{Vibe64SessionSourceEditor-yaVu279S.js → Vibe64SessionSourceEditor-Bws5ihr-.js} +1 -1
- package/dist/assets/{Vibe64UiStoryboardView-DhbHkz8K.js → Vibe64UiStoryboardView-BmABkyG4.js} +1 -1
- package/dist/assets/{Vibe64UnavailableSessions-MmPF-Db1.js → Vibe64UnavailableSessions-C6Bkwsqk.js} +1 -1
- package/dist/assets/{_pageId_-Zif-veil.js → _pageId_-FjW-3sqF.js} +1 -1
- package/dist/assets/{_sessionId_-DOge-7SB.js → _sessionId_-4cH83Bfi.js} +1 -1
- package/dist/assets/_slug_-Cazfy5ui.js +14 -0
- package/dist/assets/_slug_-DQDycgFK.css +1 -0
- package/dist/assets/{access-DQcblrWN.js → access-mxcxtn7b.js} +1 -1
- package/dist/assets/{app-CzApKPmq.js → app-8zP_FAuO.js} +1 -1
- package/dist/assets/assistantRouting-Bbxguvre.js +3 -0
- package/dist/assets/{client-13v_yX07.js → client-C1i-bIgL.js} +1 -1
- package/dist/assets/{client-Dl6I6IVb.js → client-C7yZ1hEm.js} +1 -1
- package/dist/assets/{client-Dv4scw6i.js → client-CQ49uWhR.js} +1 -1
- package/dist/assets/{client-C8ZjqGdQ.js → client-D46Uu-YO.js} +2 -2
- package/dist/assets/{client-5JUUGxRd.js → client-DKNTl1to.js} +2 -2
- package/dist/assets/{dashboard-Dm_xwwqU.js → dashboard-CMtWKazq.js} +1 -1
- package/dist/assets/{english-definitions-DwTf_alg.js → english-definitions-DiyU9O9D.js} +1 -1
- package/dist/assets/{env-B7wB5nBn.js → env-LUc22Wgd.js} +1 -1
- package/dist/assets/{error-HfzrYwkQ.js → error-BccdQn04.js} +1 -1
- package/dist/assets/{error-CtOws2EC.js → error-DPDAz9Td.js} +1 -1
- package/dist/assets/{health-DIkOkzPe.js → health-CfMjMJFf.js} +1 -1
- package/dist/assets/{history-Ch597NiY.js → history-hX_kNskf.js} +1 -1
- package/dist/assets/{i18n-DcNQE3tT.js → i18n-Dq-ep9n7.js} +1 -1
- package/dist/assets/index-BJWiPV6i.css +1 -0
- package/dist/assets/{index-DcKFCaBZ.js → index-FVeEbKiO.js} +4 -4
- package/dist/assets/{integrations-CoNhnGvq.js → integrations-Ccb8EOEO.js} +14 -15
- package/dist/assets/{integrations-CwgrZgmM.css → integrations-CtnIjM1Y.css} +1 -1
- package/dist/assets/{issues-Cem4Yt47.js → issues-Bxtt7oqi.js} +1 -1
- package/dist/assets/{learning-CU2QyHrj.js → learning-BUx9jo91.js} +1 -1
- package/dist/assets/{pages-BzA58NoR.js → pages-D43zM2UW.js} +1 -1
- package/dist/assets/{project-files-BBKjl3wZ.js → project-files-BX3zZCcl.js} +1 -1
- package/dist/assets/{publish-UFjblZA3.js → publish-DatierL2.js} +1 -1
- package/dist/assets/{pull-requests-DibGk1GB.js → pull-requests-DNkOjcuy.js} +1 -1
- package/dist/assets/{settings-BjOnPYwD.js → settings-DbR9JIc3.js} +1 -1
- package/dist/assets/{useArchivedVibe64Sessions-CXKRFR2f.js → useArchivedVibe64Sessions-B8VDhA9F.js} +1 -1
- package/dist/assets/{useCommand-yOr3U8KF.js → useCommand-CfqxMb4C.js} +1 -1
- package/dist/assets/{useUiFeedback--0dLsslR.js → useUiFeedback-8Wvg7A_S.js} +1 -1
- package/dist/assets/{useVibe64ConversationLog-BB5tVtkt.js → useVibe64ConversationLog-7wgLlKG5.js} +2 -2
- package/dist/assets/useVibe64Learning-DkneotqS.js +5 -0
- package/dist/assets/{useVibe64SessionData-BSYF_TgH.js → useVibe64SessionData-DuJ-dHR8.js} +1 -1
- package/dist/assets/{useVibe64SessionSelection-CxZ3uEAf.js → useVibe64SessionSelection-BwjtqeIR.js} +1 -1
- package/dist/assets/vibe64SavedEnvValues-CCZew0j7.js +1 -0
- package/dist/assets/{vibe64SessionFocus-DGSVXipO.js → vibe64SessionFocus-B4diopOJ.js} +1 -1
- package/dist/index.html +10 -10
- package/docs/colleague-usage/ai-accounts.md +7 -7
- package/docs/colleague-usage/ai-model-setups.md +1 -1
- package/docs/colleague-usage/auto-workflow.md +60 -40
- package/docs/colleague-usage/chat-settings.md +115 -114
- package/docs/colleague-usage/coding-agent-history.md +9 -0
- package/docs/colleague-usage/coding-agent-recovery.md +3 -0
- package/docs/colleague-usage/coding-agents.md +10 -4
- package/docs/colleague-usage/developing-vibe64.md +11 -5
- package/docs/colleague-usage/development-env.md +74 -32
- package/docs/colleague-usage/github-work.md +3 -2
- package/docs/colleague-usage/integrations.md +2 -2
- package/docs/colleague-usage/main-chat-approvals.md +7 -6
- package/docs/colleague-usage/message-delivery-recovery.md +1 -1
- package/docs/colleague-usage/passes.md +215 -41
- package/docs/colleague-usage/plans.md +27 -16
- package/docs/colleague-usage/session-timeline.md +93 -0
- package/docs/colleague-usage/temporary-chats.md +6 -0
- package/docs/colleague-usage/ui-pass.md +29 -35
- package/node_modules/@jskit-ai/assistant-core/CHANGELOG.md +4 -0
- package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-runtime/CHANGELOG.md +3 -0
- package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
- package/node_modules/@jskit-ai/connector-google-calendar/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/connector-google-calendar/package.json +1 -1
- package/node_modules/@jskit-ai/connector-google-calendar/patterns/calendar-cli/example/.env.example +1 -0
- package/node_modules/@jskit-ai/connectors-catalog/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/connectors-catalog/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-catalog/patterns/api-key-connection/PATTERN.md +4 -1
- package/node_modules/@jskit-ai/connectors-catalog/patterns/oauth-connection/PATTERN.md +3 -1
- package/node_modules/@jskit-ai/connectors-core/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/connectors-core/README.md +3 -1
- package/node_modules/@jskit-ai/connectors-core/package.json +1 -1
- package/node_modules/@jskit-ai/http-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/kernel/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/kernel/package.json +3 -4
- package/node_modules/@jskit-ai/payments-core/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/payments-core/locales/en.json +1 -1
- package/node_modules/@jskit-ai/payments-core/package.json +1 -1
- package/node_modules/@jskit-ai/realtime/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/realtime/package.json +1 -1
- package/node_modules/@jskit-ai/realtime/patterns/realtime-application/example/.env.example +1 -0
- package/node_modules/@jskit-ai/resource-core/package.json +1 -1
- package/node_modules/@jskit-ai/uploads-runtime/package.json +1 -1
- package/node_modules/@local/vibe64-core/package.json +2 -0
- package/node_modules/@local/vibe64-execution/package.json +1 -0
- package/node_modules/@local/vibe64-execution/src/host/execHelper.js +715 -666
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +873 -872
- package/node_modules/@local/vibe64-genesis/src/server/agentSpecs.js +101 -85
- package/node_modules/@local/vibe64-genesis/src/server/index.js +615 -607
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +159 -157
- package/node_modules/@local/vibe64-runtime/package.json +1 -0
- package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +901 -900
- package/node_modules/@local/vibe64-terminals/package.json +2 -1
- package/node_modules/@local/vibe64-terminals/src/server/opencodeSessionEnvironmentPlugin.js +22 -22
- package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +382 -380
- package/package.json +15 -15
- package/server.bundle.mjs +40053 -39872
- package/dist/assets/_slug_-C71iAiR0.js +0 -14
- package/dist/assets/_slug_-CF1TPDUv.css +0 -1
- package/dist/assets/assistantRouting-CqIiQy21.js +0 -3
- package/dist/assets/index-C-6c5Af1.css +0 -1
- package/dist/assets/useVibe64Learning-iAAH83uG.js +0 -5
- package/dist/assets/vibe64SavedEnvValues-CgfMvj_h.js +0 -1
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- The calendar CLI pattern passes `appEnv: appEnvironment(process.env)` and its `.env.example` declares `APP_ENV=development`; writing an event is logged outside production (`APP_ENV`).
|
|
5
6
|
- Creating, changing and cancelling an event are marked `sideEffect`, since they can invite or notify people: a test copy (`SIDE_EFFECTS` is not `live`) logs them instead of sending them.
|
|
6
7
|
|
|
7
8
|
## 0.2.0 - 2026-10-29
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- The patterns and docs give `createConnectionService` `appEnv: appEnvironment(env)` in place of `sideEffects`; a marked operation is logged outside production (`APP_ENV`).
|
|
5
6
|
- Operations that act on the world are marked `sideEffect`, so a test copy (`SIDE_EFFECTS` is not `live`) simulates them: Brevo email, SMS, campaign sends and events; Calendly cancellations and invitees; Chargebee subscription changes; Firebase Cloud Messaging; GatewayAPI; Gmail sends; Google Ads campaign status; incident.io incidents; Inngest events; LinkedIn posts; Mailgun; Outlook mail and events; Teams messages; Resend emails and broadcasts; Slack messages; Telegram; Twilio messages and calls; Twitch chat; Wave invoice and estimate sends; Wix Bookings changes; WooCommerce refunds. The api-key and Firebase messaging patterns pass `sideEffects: resolveSideEffectsMode(env)`.
|
|
6
7
|
- The browser catalog (`./shared`) no longer bundles the whole AI model snapshot. The AI connector definition now reads only the 13 configurable providers (0.2 MB, in `ai-models.json`). The other 200 providers, which are framework metadata (2.0 MB), moved to `ai-framework-models.json`, which only `./shared/ai` and `./server/ai` load. Exports, the catalogue and every configurable model's choices, hints and credential scopes are unchanged. The definition no longer recognises a framework provider's model key, which its settings schema already rejected.
|
|
7
8
|
- The Resend guide shows local auth's `auth.local.confirmation-sender` next to its recovery sender.
|
|
@@ -161,6 +161,7 @@ A server module or manually written CLI composes the same library calls:
|
|
|
161
161
|
import { readFile } from "node:fs/promises";
|
|
162
162
|
import { parseIntegrationConfiguration } from "@jskit-ai/connectors-core/shared/configuration";
|
|
163
163
|
import { createConnectionService, createEnvironmentReferenceResolver } from "@jskit-ai/connectors-core/server";
|
|
164
|
+
import { appEnvironment } from "@jskit-ai/kernel/shared/support/appEnvironment";
|
|
164
165
|
import { createFileConnectionStore, createCredentialProtection } from "@jskit-ai/connectors-core/server/file-storage";
|
|
165
166
|
import { resendProvider } from "@jskit-ai/connectors-catalog/server/resend";
|
|
166
167
|
import { firecrawlProvider } from "@jskit-ai/connectors-catalog/server/firecrawl";
|
|
@@ -175,7 +176,9 @@ const store = createFileConnectionStore({ directory: process.env.CONNECTOR_STATE
|
|
|
175
176
|
const connections = createConnectionService({
|
|
176
177
|
configuration, providers, store,
|
|
177
178
|
resolveReference: createEnvironmentReferenceResolver(process.env),
|
|
178
|
-
authorize: applicationConnectionPolicy
|
|
179
|
+
authorize: applicationConnectionPolicy,
|
|
180
|
+
// Only production (APP_ENV) sends side-effect operations, such as an email; elsewhere they are logged.
|
|
181
|
+
appEnv: appEnvironment(process.env)
|
|
179
182
|
});
|
|
180
183
|
|
|
181
184
|
// context comes from the existing application's authentication or local operator policy.
|
|
@@ -58,6 +58,7 @@ package APIs in an application module:
|
|
|
58
58
|
import { readFile } from "node:fs/promises";
|
|
59
59
|
import { parseIntegrationConfiguration } from "@jskit-ai/connectors-core/shared/configuration";
|
|
60
60
|
import { createConnectionService, createEnvironmentReferenceResolver } from "@jskit-ai/connectors-core/server";
|
|
61
|
+
import { appEnvironment } from "@jskit-ai/kernel/shared/support/appEnvironment";
|
|
61
62
|
import { createFileConnectionStore, createCredentialProtection } from "@jskit-ai/connectors-core/server/file-storage";
|
|
62
63
|
import { wordpressComProvider } from "@jskit-ai/connectors-catalog/server/wordpress-com";
|
|
63
64
|
|
|
@@ -69,7 +70,8 @@ const protection = createCredentialProtection({
|
|
|
69
70
|
const connections = createConnectionService({
|
|
70
71
|
configuration, providers,
|
|
71
72
|
store: createFileConnectionStore({ directory: process.env.CONNECTOR_STATE_DIRECTORY, protection }),
|
|
72
|
-
resolveReference: createEnvironmentReferenceResolver(process.env), authorize: applicationConnectionPolicy
|
|
73
|
+
resolveReference: createEnvironmentReferenceResolver(process.env), authorize: applicationConnectionPolicy,
|
|
74
|
+
appEnv: appEnvironment(process.env)
|
|
73
75
|
});
|
|
74
76
|
```
|
|
75
77
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- **Breaking:** `createConnectionService` takes `appEnv` (the application's `APP_ENV`, `appEnvironment(env)`) in place of `sideEffects`, and requires it: anything but the four environments throws `Supply appEnv, the application's APP_ENV: appEnvironment(env).` Only production sends an operation marked `sideEffect`; elsewhere it is checked, logged (`Staging: the resend emails.send request was logged, not sent: only production acts for real.`) and answered `{ simulated: true }`. `createConnectorsFeature` reads `APP_ENV` from `runtime.env` itself.
|
|
5
6
|
- An operation marked `sideEffect: true` (one that sends a message, posts, books, charges or triggers another system) runs only when the application's `SIDE_EFFECTS` is `live`. Otherwise it is checked exactly as a real one, logged with `logSimulatedSideEffect`, and `invoke` answers `{ simulated: true }` without reaching the provider or touching the connection's `verifiedAt`. `createConnectionService` takes `sideEffects` (default `simulate`) and an optional `logger`; `createConnectorsFeature` reads the setting from `runtime.env` and logs through `runtime.logger`, which it now requires, and its options cannot override it.
|
|
6
7
|
- A connection's status reads its row without a transaction or lock, and no longer creates an empty row for every person and integration whose status is viewed. `status()` calls `withConnection(slot, work, { readOnly: true })`; the SQL store reads the row with a plain get for such work, and the file store and a custom store that ignores the option still answer correctly.
|
|
7
8
|
- connector_authorization_attempts declares its foreign key, connection_key to connector_connections.connection_key (`foreignKeys`), so json-rest-api 3.1.0 can skip the visibility query a system-context read makes for a record such a key guarantees exists. `jskit test --databases` checks each against an app's test database. `knexConnectionStore.test.js` proves it matches the migration on the connector test database.
|
|
@@ -116,7 +116,9 @@ const connections = createConnectionService({
|
|
|
116
116
|
providers: [googleCalendarProvider],
|
|
117
117
|
store,
|
|
118
118
|
resolveReference: createEnvironmentReferenceResolver(process.env),
|
|
119
|
-
authorize: applicationConnectionPolicy
|
|
119
|
+
authorize: applicationConnectionPolicy,
|
|
120
|
+
// The application's APP_ENV, appEnvironment(process.env): only production sends side-effect operations.
|
|
121
|
+
appEnv: appEnvironment(process.env)
|
|
120
122
|
});
|
|
121
123
|
```
|
|
122
124
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- **Breaking: `APP_ENV` says where an application runs, replacing `SIDE_EFFECTS` and every decision `NODE_ENV` made.** It is exactly `development`, `test`, `staging` or `production`; `NODE_ENV` now only picks optimised builds. `@jskit-ai/kernel/shared/support/appEnvironment` gives `appEnvironment(env)` (the value; a missing or unknown one throws, naming the fix), `isDeployed(env)` (staging or production), `pageAppEnvironment()`, `withAppEnvironmentMeta(html, appEnv)` and `APP_ENVIRONMENTS`. `@jskit-ai/kernel/server/runtime/appEnvironment` gives `deliverMessage({ env, logger, channel, to, summary, details, send })`, which sends an email or SMS in production, sends it only to `STAGING_EMAIL_TO` or `STAGING_SMS_TO` in staging (calling `send(stagingAddress, { originalTo })`), and logs it in development, test and staging without that address; `markStagingEmail(message, originalTo)`, which adds the `X-Staging-Original-To` header and a first line `Staging: this email was for <address>.` to its text and HTML; `logSideEffect(logger, appEnv, { kind, summary, details, reason })` for any other effect logged outside production; `assertDevelopmentOnlySettings(env, names)`; and `assertAppEnvironment(env)`. `createInstalledRuntime` refuses to start when `APP_ENV` is missing or unknown, when `SIDE_EFFECTS` is set at all (`SIDE_EFFECTS was replaced by APP_ENV: remove SIDE_EFFECTS. …`), and when `APP_ENV` is staging or production without `NODE_ENV=production`; it logs once where it runs and what that means, and names the environment in every HTML page it sends (the `jskit-app-environment` meta tag, replacing `jskit-side-effects`). The security headers' HSTS and content security policy follow `APP_ENV` (staging and production), not `NODE_ENV`. The Vite plugin names `APP_ENV` in the development server's pages and refuses without one; a built page names none. Removed: `@jskit-ai/kernel/shared/support/sideEffects`, `@jskit-ai/kernel/server/runtime/sideEffects` and `@jskit-ai/kernel/server/runtime/runtimeMode` (`isProductionEnv`).
|
|
5
6
|
- `resolveApiErrorStatus(error)` from `@jskit-ai/kernel/server/runtime/errors` gives the HTTP status an error answers a client with: json-rest-api's refusals, which carry no status, by their code (`REST_API_VALIDATION` a 422, a `REST_API_RESOURCE` by its subtype: 404, 403, 409 or 400), any other error by its own status when that is 400 to 599, else 500. It is the HTTP error handler's own mapping, moved there so that anything else telling a client of a refusal, such as the assistant's tool results, answers with the same status; the HTTP error handler's answers are unchanged.
|
|
6
7
|
- `withoutExecutionLog(context)` from `@jskit-ai/kernel/server/actions` returns the same execution context marked so the action pipeline writes no `action.execution` log line for it, for a caller that keeps every trace of a call out of what it saves (an assistant's unsaved tool). `isExecutionLogged(context)` reads the mark, so an action or action policy can keep its own logs quiet too. The mark is a private symbol: it passes through `normalizeExecutionContext` and never reaches a serialized context.
|
|
7
8
|
- A feature or provider may declare **late requirements**, `late: { evidence: "evidence.files" }`, local names to capability ids as `requires` and `optional` are, for a ring that only a read at call time closes, such as a row policy that narrows through an owner which itself requires the policy's feature. A late requirement takes no part in the order providers start in nor in the cycle check, so the ring starts instead of failing with `Provider capability cycle detected`; `createCapabilityRuntime().start()` resolves it once, after every provider's `boot()`. Until then its local name is a getter that throws `Provider "audit" read its late requirement "evidence" (capability "evidence.files") before every provider booted: a late requirement can only be read at call time after boot, such as inside a row policy or a request handler, never in setup or boot, and never destructured in setup.`; after, it answers the capability. A capability nothing provides fails start() at the end of boot with `Provider "audit" late-requires missing capability "evidence.files": no provider or runtime input provides it.` (and the provider's hint for it, if any), and start() stops what started as for any startup failure. The value reaches everything a feature's dependencies reach: setup's dependencies, actions(), boot() and shutdown(), and each owned table's row policy as `requires`; defineFeature now copies dependencies by property descriptors, so a copy keeps the getter instead of reading it. Late local names must differ from the provider's requires, optional and provides names; a provider cannot late-require a capability it provides, or one it already requires or takes as optional; and defineFeature refuses the reserved local names and `runtime.resources` under `late` as under `requires`. A package's manifest drift counts late requirements as requirements, so its manifest lists them under `requires`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/kernel",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.27",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./_testable": "./_testable/index.js",
|
|
@@ -27,11 +27,10 @@
|
|
|
27
27
|
"./server/i18n": "./server/i18n.js",
|
|
28
28
|
"./server/platform": "./server/platform/index.js",
|
|
29
29
|
"./server/runtime": "./server/runtime/index.js",
|
|
30
|
+
"./server/runtime/appEnvironment": "./server/runtime/appEnvironment.js",
|
|
30
31
|
"./server/runtime/errors": "./server/runtime/errors.js",
|
|
31
32
|
"./server/runtime/logger": "./server/runtime/logger.js",
|
|
32
33
|
"./server/runtime/requestUrl": "./server/runtime/requestUrl.js",
|
|
33
|
-
"./server/runtime/runtimeMode": "./server/runtime/runtimeMode.js",
|
|
34
|
-
"./server/runtime/sideEffects": "./server/runtime/sideEffects.js",
|
|
35
34
|
"./server/support": "./server/support/index.js",
|
|
36
35
|
"./server/types": "./server/types.js",
|
|
37
36
|
"./shared": "./shared/index.js",
|
|
@@ -47,7 +46,7 @@
|
|
|
47
46
|
"./shared/support/deepFreeze": "./shared/support/deepFreeze.js",
|
|
48
47
|
"./shared/support/listenerSet": "./shared/support/listenerSet.js",
|
|
49
48
|
"./shared/support/shellLayoutTargets": "./shared/support/shellLayoutTargets.js",
|
|
50
|
-
"./shared/support/
|
|
49
|
+
"./shared/support/appEnvironment": "./shared/support/appEnvironment.js",
|
|
51
50
|
"./shared/support/providerLogger": "./shared/support/providerLogger.js",
|
|
52
51
|
"./shared/support/silentLogger": "./shared/support/silentLogger.js",
|
|
53
52
|
"./shared/support/returnToPath": "./shared/support/returnToPath.js",
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- **Breaking:** `createPaymentCheckoutService` takes `appEnv` (the application's `APP_ENV`, `appEnvironment(env)`) in place of `sideEffects`, and requires it. Only production takes real payments: checkout and the billing portal in the live payment environment are refused elsewhere with `payment_sandbox_only` (409, "Only production takes real payments: use the sandbox payment environment."), which replaces `payment_test_copy`, before any provider write. The sandbox environment works everywhere.
|
|
5
6
|
- A test copy takes no real money: `createPaymentCheckoutService` takes `sideEffects` (default `simulate`), and unless it is `live`, checkout and the billing portal in the live payment environment are refused with `payment_test_copy` (409) before any provider write. The sandbox environment works either way.
|
|
6
7
|
- `PAYMENT_STORE_FEATURE` is no longer exported from `PaymentStoreFeature.js` (no public entry point offered it): the feature's id is written as `"payments.store"`, so `jskit check` sees a module that requires that capability where it names it.
|
|
7
8
|
- payment_entries declares its foreign key, account_key to payment_accounts.account_key (`foreignKeys`), so json-rest-api 3.1.0 can skip the visibility query a system-context read makes for a record such a key guarantees exists. `jskit test --databases` checks each against an app's test database. `paymentStore.mysql.test.js` proves it matches the migration on MariaDB.
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"payment_insufficient_credits": "Not enough credits for this action.",
|
|
19
19
|
"payment_debit_missing": "No debit exists for this reference.",
|
|
20
20
|
"payment_customer_unbound": "Bind this provider customer before processing its events.",
|
|
21
|
-
"
|
|
21
|
+
"payment_sandbox_only": "Only production takes real payments: use the sandbox payment environment."
|
|
22
22
|
},
|
|
23
23
|
"payments": {
|
|
24
24
|
"scope": {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- **Breaking.** The Redis backplane's address is read from `REALTIME_REDIS_URL`, the name the realtime guide, the `realtime/realtime-application` pattern and its `.env.example` give. It was read from `REDIS_URL`, so an app that set the documented name stayed on the in-process adapter, and each of its copies behind a load balancer delivered events only to the browsers connected to that copy. An app that set `REDIS_URL` for realtime sets `REALTIME_REDIS_URL` instead; `REDIS_NAMESPACE` is unchanged. The pattern's test now reads the name from the runtime, so the two cannot drift apart again.
|
|
5
6
|
- A publish to a user or workspace room no longer reads the memberships of every online actor. It asks each audience contributor about the actors of the sockets outside its target rooms only for those rooms' scopes, `resolveActorsScopes(actorIds, { scopes })`, and keeps only those rooms of the answer, while the actors already inside are looked up in full for their checks. A contributor that ignores `scopes` still answers correctly. Before, every write action read the memberships of every signed-in socket's actor, so the cost grew with everyone online, also for an event to one user.
|
|
6
7
|
- Since 0.2.20, an event a background job publishes (an action run with no request, so no request workspace) no longer reads its audience's `audienceUsers` in the `workspaceId` its payload names: with no workspace or user in its scope it reads with no context, so an audience over an owned table reaches nobody. Run the job's action with the workspace in its context (`context.workspace`, or a visibility scope naming it) so its audience reads there.
|
|
7
8
|
- Since 0.2.20, `all_workspace_users` on an event written on a customer's or a public surface reaches the users of the workspace the request resolved; before, such an event reached no workspace's users. An audience meant for the writer alone names the user instead.
|
|
@@ -34,6 +34,8 @@
|
|
|
34
34
|
"./server/sessionUiSyncState": "./src/server/sessionUiSyncState.js",
|
|
35
35
|
"./server/sourceEditorRealtimeEvents": "./src/server/sourceEditorRealtimeEvents.js",
|
|
36
36
|
"./server/sessionSourcePath": "./src/server/sessionSourcePath.js",
|
|
37
|
+
"./server/sessionTimeline": "./src/server/sessionTimeline.js",
|
|
38
|
+
"./server/sessionTimelineCli": "./src/server/sessionTimelineCli.js",
|
|
37
39
|
"./server/studioProjectContext": "./src/server/studioProjectContext.js",
|
|
38
40
|
"./server/studioRoots": "./src/server/studioRoots.js",
|
|
39
41
|
"./server/terminalWebSocketRoutes": "./src/server/terminalWebSocketRoutes.js",
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
".": "./src/server/index.js",
|
|
8
8
|
"./server": "./src/server/index.js",
|
|
9
9
|
"./server/hostProfile": "./src/server/hostProfile.js",
|
|
10
|
+
"./server/hostSettings": "./src/host/hostSettings.js",
|
|
10
11
|
"./server/terminalSessions": "./src/server/engines/terminalSessions.js",
|
|
11
12
|
"./server/types": "./src/server/types.js"
|
|
12
13
|
}
|