@oxygen-agent/cli 1.1017.21 → 1.1018.26
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/README.md +1 -1
- package/node_modules/@oxygen/shared/dist/copilot/plan-hold.d.ts +20 -0
- package/node_modules/@oxygen/shared/dist/copilot/plan-hold.js +20 -0
- package/node_modules/@oxygen/shared/dist/product-analytics-events.d.ts +15 -0
- package/node_modules/@oxygen/shared/dist/product-analytics-events.js +15 -0
- package/node_modules/@oxygen/shared/dist/version.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.js +1 -1
- package/node_modules/@oxygen/shared/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A free workspace's Oxygent runs onboarding, then asks for a plan (current
|
|
3
|
+
* chat, 2026-10-29: "for pick a play it should send the prompt and then after
|
|
4
|
+
* that have an upgrade button instead of directly send them to the paywall and
|
|
5
|
+
* after the onboarding every message that is being sent is requesting an
|
|
6
|
+
* upgrade"). The message is kept as the person's own, on a turn that settles at
|
|
7
|
+
* once with this code and runs nothing; the chat shows an Upgrade under it.
|
|
8
|
+
*/
|
|
9
|
+
export declare const COPILOT_PLAN_HOLD_CODE = "upgrade_required";
|
|
10
|
+
export declare const COPILOT_PLAN_HOLD_MESSAGE = "Your free workspace has finished onboarding. Choose a plan to run this message.";
|
|
11
|
+
/**
|
|
12
|
+
* Whether a free, self-billed workspace's message waits for a plan: the play
|
|
13
|
+
* that ends onboarding, and every message once onboarding has finished.
|
|
14
|
+
*/
|
|
15
|
+
export declare function copilotMessageHeldForPlan(input: {
|
|
16
|
+
/** Free and self-billed: the one audience that can start a plan. */
|
|
17
|
+
upgradeEligible: boolean;
|
|
18
|
+
message: string;
|
|
19
|
+
onboardingFinished: boolean;
|
|
20
|
+
}): boolean;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ONBOARDING_PLAY_MESSAGE_PREFIX } from "../onboarding/plays.js";
|
|
2
|
+
/**
|
|
3
|
+
* A free workspace's Oxygent runs onboarding, then asks for a plan (current
|
|
4
|
+
* chat, 2026-10-29: "for pick a play it should send the prompt and then after
|
|
5
|
+
* that have an upgrade button instead of directly send them to the paywall and
|
|
6
|
+
* after the onboarding every message that is being sent is requesting an
|
|
7
|
+
* upgrade"). The message is kept as the person's own, on a turn that settles at
|
|
8
|
+
* once with this code and runs nothing; the chat shows an Upgrade under it.
|
|
9
|
+
*/
|
|
10
|
+
export const COPILOT_PLAN_HOLD_CODE = "upgrade_required";
|
|
11
|
+
export const COPILOT_PLAN_HOLD_MESSAGE = "Your free workspace has finished onboarding. Choose a plan to run this message.";
|
|
12
|
+
/**
|
|
13
|
+
* Whether a free, self-billed workspace's message waits for a plan: the play
|
|
14
|
+
* that ends onboarding, and every message once onboarding has finished.
|
|
15
|
+
*/
|
|
16
|
+
export function copilotMessageHeldForPlan(input) {
|
|
17
|
+
if (!input.upgradeEligible)
|
|
18
|
+
return false;
|
|
19
|
+
return input.onboardingFinished || input.message.startsWith(ONBOARDING_PLAY_MESSAGE_PREFIX);
|
|
20
|
+
}
|
|
@@ -50,6 +50,13 @@ export declare const PRODUCT_EVENTS: {
|
|
|
50
50
|
* server trace in SigNoz. Once per page visit, a handful per signup.
|
|
51
51
|
*/
|
|
52
52
|
readonly AGENT_ONBOARDING_ATTEMPTED: "agent_onboarding_attempted";
|
|
53
|
+
/**
|
|
54
|
+
* Browser-side, while onboarding locks the navigation (2026-10-29): `action`
|
|
55
|
+
* is locked_click (a locked row's note opened) or explored ("Explore anyway"
|
|
56
|
+
* lifted the lock for the visit); `destination` is the row's static nav path
|
|
57
|
+
* or `search`. A handful per signup.
|
|
58
|
+
*/
|
|
59
|
+
readonly ONBOARDING_NAV_LOCKED: "onboarding_nav_locked";
|
|
53
60
|
/**
|
|
54
61
|
* The prescribed first play (inbound-led outbound), walked on ANY surface.
|
|
55
62
|
*
|
|
@@ -112,6 +119,14 @@ export declare const PRODUCT_EVENTS: {
|
|
|
112
119
|
*/
|
|
113
120
|
readonly COPILOT_TURN_SETTLED: "copilot_turn_settled";
|
|
114
121
|
/** Revenue lifecycle. */
|
|
122
|
+
/**
|
|
123
|
+
* The plans screen opened, as a page or over the page a wall was met on.
|
|
124
|
+
* `source` and `blocked_capability` match `checkout_started`, so each wall's
|
|
125
|
+
* views → checkouts → `subscription_activated` is measurable, including the
|
|
126
|
+
* people who saw the price and left. `plan_key` is null on a free workspace.
|
|
127
|
+
* A handful per workspace: once per opening, never per render.
|
|
128
|
+
*/
|
|
129
|
+
readonly UPGRADE_VIEWED: "upgrade_viewed";
|
|
115
130
|
/**
|
|
116
131
|
* A Stripe Checkout was opened for a first subscription. `source` says which
|
|
117
132
|
* surface opened it (a paywall, the sidebar Upgrade row, Billing) and
|
|
@@ -50,6 +50,13 @@ export const PRODUCT_EVENTS = {
|
|
|
50
50
|
* server trace in SigNoz. Once per page visit, a handful per signup.
|
|
51
51
|
*/
|
|
52
52
|
AGENT_ONBOARDING_ATTEMPTED: "agent_onboarding_attempted",
|
|
53
|
+
/**
|
|
54
|
+
* Browser-side, while onboarding locks the navigation (2026-10-29): `action`
|
|
55
|
+
* is locked_click (a locked row's note opened) or explored ("Explore anyway"
|
|
56
|
+
* lifted the lock for the visit); `destination` is the row's static nav path
|
|
57
|
+
* or `search`. A handful per signup.
|
|
58
|
+
*/
|
|
59
|
+
ONBOARDING_NAV_LOCKED: "onboarding_nav_locked",
|
|
53
60
|
/**
|
|
54
61
|
* The prescribed first play (inbound-led outbound), walked on ANY surface.
|
|
55
62
|
*
|
|
@@ -112,6 +119,14 @@ export const PRODUCT_EVENTS = {
|
|
|
112
119
|
*/
|
|
113
120
|
COPILOT_TURN_SETTLED: "copilot_turn_settled",
|
|
114
121
|
/** Revenue lifecycle. */
|
|
122
|
+
/**
|
|
123
|
+
* The plans screen opened, as a page or over the page a wall was met on.
|
|
124
|
+
* `source` and `blocked_capability` match `checkout_started`, so each wall's
|
|
125
|
+
* views → checkouts → `subscription_activated` is measurable, including the
|
|
126
|
+
* people who saw the price and left. `plan_key` is null on a free workspace.
|
|
127
|
+
* A handful per workspace: once per opening, never per render.
|
|
128
|
+
*/
|
|
129
|
+
UPGRADE_VIEWED: "upgrade_viewed",
|
|
115
130
|
/**
|
|
116
131
|
* A Stripe Checkout was opened for a first subscription. `source` says which
|
|
117
132
|
* surface opened it (a paywall, the sidebar Upgrade row, Billing) and
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const OXYGEN_BUILD_VERSION = "1.
|
|
1
|
+
export declare const OXYGEN_BUILD_VERSION = "1.1018.26";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// GENERATED by scripts/ci/version-stamp.mjs from VERSION + git history. Do not edit; do not commit.
|
|
2
|
-
export const OXYGEN_BUILD_VERSION = "1.
|
|
2
|
+
export const OXYGEN_BUILD_VERSION = "1.1018.26";
|
|
@@ -49,7 +49,7 @@ export const OXYGEN_VERSION = OXYGEN_BUILD_VERSION;
|
|
|
49
49
|
// Since 2026-09-28 the release-preparation step advances this literal to the
|
|
50
50
|
// highest CLI version published on npm for at least 30 days. It never lowers
|
|
51
51
|
// the floor. The source change lands on dev before the next production release.
|
|
52
|
-
export const OXYGEN_MINIMUM_CLI_VERSION = "1.
|
|
52
|
+
export const OXYGEN_MINIMUM_CLI_VERSION = "1.1011.21";
|
|
53
53
|
// The internal GEO export first gains required pagination in this dev version.
|
|
54
54
|
// Earlier pilot clients would save a partial file without its continuation.
|
|
55
55
|
export const GEO_EXPORT_MINIMUM_CLI_VERSION = "1.1013.0";
|