@aligndottech/cli 0.39.0 → 0.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/connect.d.ts +11 -13
- package/dist/commands/connect.d.ts.map +1 -1
- package/dist/commands/connect.js +0 -21
- package/dist/commands/connect.js.map +1 -1
- package/dist/commands/import/confluence.js +2 -2
- package/dist/commands/import/confluence.js.map +1 -1
- package/dist/commands/import/docs.js +1 -1
- package/dist/commands/import/docs.js.map +1 -1
- package/dist/commands/import/git.js +1 -1
- package/dist/commands/import/git.js.map +1 -1
- package/dist/commands/import/github.js +1 -1
- package/dist/commands/import/github.js.map +1 -1
- package/dist/commands/import/gitlab.js +1 -1
- package/dist/commands/import/gitlab.js.map +1 -1
- package/dist/commands/import/jira.js +2 -2
- package/dist/commands/import/jira.js.map +1 -1
- package/dist/commands/import/linear.js +1 -1
- package/dist/commands/import/linear.js.map +1 -1
- package/dist/commands/import/notion.js +1 -1
- package/dist/commands/import/notion.js.map +1 -1
- package/dist/commands/import/sessions.d.ts +1 -1
- package/dist/commands/import/sessions.js +1 -1
- package/dist/commands/import/sessions.js.map +1 -1
- package/dist/commands/import/slack.js +1 -1
- package/dist/commands/import/slack.js.map +1 -1
- package/dist/commands/import/teams.js +1 -1
- package/dist/commands/import/teams.js.map +1 -1
- package/dist/commands/import/zoom.js +1 -1
- package/dist/commands/import/zoom.js.map +1 -1
- package/dist/commands/import.d.ts +24 -3
- package/dist/commands/import.d.ts.map +1 -1
- package/dist/commands/import.js +38 -21
- package/dist/commands/import.js.map +1 -1
- package/dist/commands/mcp.d.ts +49 -3
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +214 -17
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/ratify.js +1 -1
- package/dist/commands/ratify.js.map +1 -1
- package/dist/commands/registry.d.ts.map +1 -1
- package/dist/commands/registry.js +11 -1
- package/dist/commands/registry.js.map +1 -1
- package/dist/commands/search.js +1 -1
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/setup.js +1 -1
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/why.js +3 -3
- package/dist/commands/why.js.map +1 -1
- package/dist/lib/capture-sources.d.ts +1 -1
- package/dist/lib/capture-sources.js +1 -1
- package/dist/lib/command-opts.d.ts +1 -1
- package/dist/lib/command-opts.js +1 -1
- package/dist/lib/commands-doc.d.ts.map +1 -1
- package/dist/lib/commands-doc.js +4 -1
- package/dist/lib/commands-doc.js.map +1 -1
- package/dist/lib/decision-refs.d.ts +1 -1
- package/dist/lib/decision-refs.js +1 -1
- package/dist/lib/errors.d.ts +1 -1
- package/dist/lib/errors.js +2 -2
- package/dist/lib/errors.js.map +1 -1
- package/dist/lib/fetchers/git.d.ts +1 -1
- package/dist/lib/fetchers/git.js +1 -1
- package/dist/lib/gateway-client.d.ts +70 -1
- package/dist/lib/gateway-client.d.ts.map +1 -1
- package/dist/lib/gateway-client.js +121 -8
- package/dist/lib/gateway-client.js.map +1 -1
- package/dist/lib/git.js +1 -1
- package/dist/lib/git.js.map +1 -1
- package/dist/lib/import-defaults.d.ts +1 -1
- package/dist/lib/import-defaults.js +1 -1
- package/dist/lib/local-db.js +1 -1
- package/dist/lib/local-gateway-client.d.ts +1 -1
- package/dist/lib/local-gateway-client.d.ts.map +1 -1
- package/dist/lib/local-gateway-client.js +9 -1
- package/dist/lib/local-gateway-client.js.map +1 -1
- package/dist/lib/mcp-timeline-tools.d.ts +128 -0
- package/dist/lib/mcp-timeline-tools.d.ts.map +1 -0
- package/dist/lib/mcp-timeline-tools.js +504 -0
- package/dist/lib/mcp-timeline-tools.js.map +1 -0
- package/dist/lib/personal-oauth.d.ts +1 -1
- package/dist/lib/personal-oauth.js +4 -4
- package/dist/lib/personal-oauth.js.map +1 -1
- package/dist/lib/resolve-env.d.ts +1 -1
- package/dist/lib/resolve-env.js +1 -1
- package/dist/lib/sessions/import-summary.d.ts +2 -2
- package/dist/lib/sessions/import-summary.js +1 -1
- package/dist/lib/sessions/registry.d.ts +1 -1
- package/dist/lib/sessions/registry.js +1 -1
- package/dist/lib/usage-telemetry.d.ts +2 -2
- package/dist/lib/usage-telemetry.js +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ALI-835: the line a human reads at the end of `align
|
|
2
|
+
* ALI-835: the line a human reads at the end of `align connect sessions`, and the counts the
|
|
3
3
|
* funnel reports.
|
|
4
4
|
*
|
|
5
5
|
* The line is the product moment; the ping is the measurement. They are built from ONE object
|
|
@@ -19,7 +19,7 @@ export interface SessionImportCounts {
|
|
|
19
19
|
/**
|
|
20
20
|
* How many of the confirmed claims already carry a human ratification.
|
|
21
21
|
*
|
|
22
|
-
* Structurally 0 at import: `align
|
|
22
|
+
* Structurally 0 at import: `align connect sessions` writes claims, and ratifying is a
|
|
23
23
|
* separate human act (`align ratify`). It is reported anyway, because "0 have been ratified"
|
|
24
24
|
* is the sentence the demo turns on - the point is that nobody has stood behind any of them
|
|
25
25
|
* yet. The funnel's own decisions_ratified stage is emitted from `align ratify`, where the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ALI-835: the line a human reads at the end of `align
|
|
2
|
+
* ALI-835: the line a human reads at the end of `align connect sessions`, and the counts the
|
|
3
3
|
* funnel reports.
|
|
4
4
|
*
|
|
5
5
|
* The line is the product moment; the ping is the measurement. They are built from ONE object
|
|
@@ -4,7 +4,7 @@ export interface DetectedAgent {
|
|
|
4
4
|
adapter: SessionAdapter;
|
|
5
5
|
files: string[];
|
|
6
6
|
}
|
|
7
|
-
/** `align
|
|
7
|
+
/** `align connect sessions`' auto-detect: every agent that has actually left session data
|
|
8
8
|
* for this project. An agent with zero files is "never run here" - the normal case for
|
|
9
9
|
* five of six adapters on any one machine - so it is silently excluded, not reported. */
|
|
10
10
|
export declare function detectAgents(cwd: string, adapters?: SessionAdapter[]): DetectedAgent[];
|
|
@@ -7,7 +7,7 @@ import { piAdapter } from './adapters/pi.js';
|
|
|
7
7
|
export const ADAPTERS = [
|
|
8
8
|
claudeCodeAdapter, codexAdapter, cursorAdapter, geminiCliAdapter, opencodeAdapter, piAdapter,
|
|
9
9
|
];
|
|
10
|
-
/** `align
|
|
10
|
+
/** `align connect sessions`' auto-detect: every agent that has actually left session data
|
|
11
11
|
* for this project. An agent with zero files is "never run here" - the normal case for
|
|
12
12
|
* five of six adapters on any one machine - so it is silently excluded, not reported. */
|
|
13
13
|
export function detectAgents(cwd, adapters = ADAPTERS) {
|
|
@@ -54,7 +54,7 @@ export declare function recordCommandUsage(env: EnvironmentConfig, command: stri
|
|
|
54
54
|
*/
|
|
55
55
|
/**
|
|
56
56
|
* ALI-835: the stages the gateway ACCEPTS a measurement on. Permission, not obligation - three
|
|
57
|
-
* of the four come from one `align
|
|
57
|
+
* of the four come from one `align connect sessions` run and carry a count and an agent name,
|
|
58
58
|
* while `decisions_ratified` comes from `align ratify` and deliberately carries neither, since
|
|
59
59
|
* a ratification is a person standing behind a claim rather than anything an agent counted.
|
|
60
60
|
*
|
|
@@ -143,7 +143,7 @@ export declare function invocationCommandPath(actionCommand: {
|
|
|
143
143
|
/**
|
|
144
144
|
* The `--env` the user actually typed, including one Commander handed to a parent.
|
|
145
145
|
*
|
|
146
|
-
* `align
|
|
146
|
+
* `align connect git --env local` leaves the subcommand's own `opts()` empty, because `--env`
|
|
147
147
|
* is declared on both and Commander resolves that in the parent's favour (align-cli#79, which
|
|
148
148
|
* fixed the same read for the import commands via subcommandOpts). Reading `.opts()` here
|
|
149
149
|
* would send a local command's event to the cloud default - this slice's own bug, one layer up.
|
|
@@ -178,7 +178,7 @@ function commandPathOf(command) {
|
|
|
178
178
|
*/
|
|
179
179
|
/**
|
|
180
180
|
* ALI-835: the stages the gateway ACCEPTS a measurement on. Permission, not obligation - three
|
|
181
|
-
* of the four come from one `align
|
|
181
|
+
* of the four come from one `align connect sessions` run and carry a count and an agent name,
|
|
182
182
|
* while `decisions_ratified` comes from `align ratify` and deliberately carries neither, since
|
|
183
183
|
* a ratification is a person standing behind a claim rather than anything an agent counted.
|
|
184
184
|
*
|
|
@@ -402,7 +402,7 @@ export function invocationCommandPath(actionCommand) {
|
|
|
402
402
|
/**
|
|
403
403
|
* The `--env` the user actually typed, including one Commander handed to a parent.
|
|
404
404
|
*
|
|
405
|
-
* `align
|
|
405
|
+
* `align connect git --env local` leaves the subcommand's own `opts()` empty, because `--env`
|
|
406
406
|
* is declared on both and Commander resolves that in the parent's favour (align-cli#79, which
|
|
407
407
|
* fixed the same read for the import commands via subcommandOpts). Reading `.opts()` here
|
|
408
408
|
* would send a local command's event to the cloud default - this slice's own bug, one layer up.
|