@jitera/connect 1.5.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +51 -13
- package/content/instructions.md +7 -4
- package/content/session-start-unbound.md +12 -0
- package/content/session-start.md +14 -5
- package/dist/bin/cli.js +101 -93
- package/dist/bin/cli.js.map +1 -1
- package/dist/bin/connect.js +3 -0
- package/dist/bin/connect.js.map +1 -1
- package/dist/bin/init.js +122 -119
- package/dist/bin/init.js.map +1 -1
- package/dist/bin/login.js +221 -211
- package/dist/bin/login.js.map +1 -1
- package/dist/bin/proxy.js +2 -1
- package/dist/bin/proxy.js.map +1 -1
- package/dist/bin/set-agent.d.ts +3 -0
- package/dist/bin/set-agent.d.ts.map +1 -0
- package/dist/bin/set-agent.js +165 -0
- package/dist/bin/set-agent.js.map +1 -0
- package/dist/bin/statusline.js +6 -1
- package/dist/bin/statusline.js.map +1 -1
- package/dist/cli-session.d.ts +12 -0
- package/dist/cli-session.d.ts.map +1 -1
- package/dist/cli-session.js +25 -0
- package/dist/cli-session.js.map +1 -1
- package/dist/exit.d.ts +8 -0
- package/dist/exit.d.ts.map +1 -0
- package/dist/exit.js +32 -0
- package/dist/exit.js.map +1 -0
- package/dist/graphql.d.ts +6 -0
- package/dist/graphql.d.ts.map +1 -1
- package/dist/graphql.js +24 -0
- package/dist/graphql.js.map +1 -1
- package/dist/hook-io.d.ts +2 -0
- package/dist/hook-io.d.ts.map +1 -1
- package/dist/hook-io.js +3 -0
- package/dist/hook-io.js.map +1 -1
- package/dist/hooks/session-start.js +19 -5
- package/dist/hooks/session-start.js.map +1 -1
- package/dist/hooks/stop.js +7 -1
- package/dist/hooks/stop.js.map +1 -1
- package/dist/hooks/user-prompt-submit.js +78 -20
- package/dist/hooks/user-prompt-submit.js.map +1 -1
- package/dist/project-marker.d.ts +1 -0
- package/dist/project-marker.d.ts.map +1 -1
- package/dist/project-marker.js +40 -2
- package/dist/project-marker.js.map +1 -1
- package/dist/proxy.d.ts +5 -1
- package/dist/proxy.d.ts.map +1 -1
- package/dist/proxy.js +42 -2
- package/dist/proxy.js.map +1 -1
- package/dist/select.d.ts +17 -0
- package/dist/select.d.ts.map +1 -1
- package/dist/select.js +164 -3
- package/dist/select.js.map +1 -1
- package/dist/statusline.d.ts +2 -1
- package/dist/statusline.d.ts.map +1 -1
- package/dist/statusline.js +6 -1
- package/dist/statusline.js.map +1 -1
- package/package.json +1 -1
- package/skills/jitera-context/SKILL.md +22 -0
- package/skills/jitera-memory/SKILL.md +20 -2
- package/templates/AGENTS.md.tmpl +10 -4
package/README.md
CHANGED
|
@@ -57,22 +57,60 @@ it refuses to run outside a git repository. instructions written above a repo
|
|
|
57
57
|
are invisible to anything that reads AGENTS.md from the repo root, and a
|
|
58
58
|
CLAUDE.md above a repo leaks into every project underneath it.
|
|
59
59
|
|
|
60
|
+
## choosing which agents a repo reads
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
npx @jitera/connect set-agent
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
a project's memory is partitioned per agent. by default a bound repo reads all
|
|
67
|
+
of them, which is right when the project is one thing and wrong when it is
|
|
68
|
+
five: everything the other agents know arrives as noise.
|
|
69
|
+
|
|
70
|
+
`set-agent` lists the project's published agents with checkboxes. move with the
|
|
71
|
+
arrow keys, press space to tick the ones this repo should read, and enter to
|
|
72
|
+
save. the current selection starts ticked, so re-running it shows today's state
|
|
73
|
+
rather than a blank slate. `a` ticks everything, `n` clears it.
|
|
74
|
+
|
|
75
|
+
the choice is written to `.jitera.json` as an `agents` list and committed with
|
|
76
|
+
it, so your teammates read the same agents you do.
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
npx @jitera/connect set-agent --agent=<id> --agent=<id> # skip the prompt
|
|
80
|
+
npx @jitera/connect set-agent --all # read every agent again
|
|
81
|
+
npx @jitera/connect set-agent --dry-run # show, do not write
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
saving nothing means every agent, which is the same as `--all`. memory that
|
|
85
|
+
belongs to no agent — anything written project-wide — is always read, whatever
|
|
86
|
+
you select, so a selection narrows the noise without hiding shared facts.
|
|
87
|
+
|
|
88
|
+
it needs the repo bound to a project first, because that is what says which
|
|
89
|
+
agents exist. run `init` if it is not.
|
|
90
|
+
|
|
60
91
|
## what applies where
|
|
61
92
|
|
|
62
93
|
the api key is global: one per user, per machine, stored by `login --install`.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
`.jitera.json`
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
94
|
+
it says who you are, not which project you are in.
|
|
95
|
+
|
|
96
|
+
`.jitera.json` says which project. without it a repo is unbound, and the hooks
|
|
97
|
+
do nothing at all there: no context is gathered, no checkpoint is asked for, and
|
|
98
|
+
no call reaches the server. a repo you have not run `init` in is left alone,
|
|
99
|
+
which is why init is per repo and login is per machine.
|
|
100
|
+
|
|
101
|
+
an unbound session is not silent about it. session start tells the assistant the
|
|
102
|
+
repo is unbound and to suggest `npx @jitera/connect init`, and the status line
|
|
103
|
+
shows the same thing.
|
|
104
|
+
|
|
105
|
+
sessions also check the marker against the plugin. a teammate who has not signed
|
|
106
|
+
in yet gets the exact login command for the right environment. a teammate
|
|
107
|
+
pointed at a different environment gets a warning instead of quietly reading the
|
|
108
|
+
wrong project.
|
|
109
|
+
|
|
110
|
+
the proxy and the hooks send the project it names as an `X-Jitera-Project`
|
|
111
|
+
header, so several repos on one machine can talk to different projects through a
|
|
112
|
+
single key. older deployments bind the key itself to one project; there the
|
|
113
|
+
marker still decides whether the hooks run, and makes a mismatch visible.
|
|
76
114
|
|
|
77
115
|
## seeing your keys
|
|
78
116
|
|
package/content/instructions.md
CHANGED
|
@@ -3,16 +3,19 @@ memory, documentation, and source. Treat it as the source of truth for this
|
|
|
3
3
|
project, not an optional lookup.
|
|
4
4
|
|
|
5
5
|
Before answering a question about this project, and before planning or
|
|
6
|
-
implementing anything, call `
|
|
7
|
-
|
|
6
|
+
implementing anything, call `gather_jitera_context` with the task in the user's
|
|
7
|
+
own words. It recalls memory and searches documentation and source in one pass,
|
|
8
|
+
across every agent in the project. An empty result is normal, not an error.
|
|
9
|
+
Call it again whenever the work reaches something you have not gathered context
|
|
10
|
+
for; it is not a once-per-session lookup.
|
|
8
11
|
|
|
9
12
|
Before writing a spec, design, or plan, search `documents/` with
|
|
10
13
|
`resource_search` and read any match with `resource_read`. Update the existing
|
|
11
14
|
document rather than creating a second one.
|
|
12
15
|
|
|
13
16
|
When a decision is made, a constraint is discovered, or the user corrects you,
|
|
14
|
-
persist it with `remember_jitera_memory`. Recall the entity first
|
|
15
|
-
full attribute list — entities are keyed on name plus type, so writing blind
|
|
17
|
+
persist it with `remember_jitera_memory`. Recall the entity first with
|
|
18
|
+
`recall_jitera_memory` and re-send its full attribute list — entities are keyed on name plus type, so writing blind
|
|
16
19
|
creates duplicates and replaces facts instead of adding them.
|
|
17
20
|
|
|
18
21
|
Do not store anything already recorded in the repository or its git history.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
An API key is configured, but this repository is not bound to a project.
|
|
2
|
+
No project context is loaded and the MCP tools have nothing to read.
|
|
3
|
+
Do not call them until this repository is bound.
|
|
4
|
+
|
|
5
|
+
If the user asks about project context, documentation, or shared memory, or
|
|
6
|
+
wants this repository bound to one, tell them to run this at the repository root:
|
|
7
|
+
|
|
8
|
+
npx @jitera/connect init
|
|
9
|
+
|
|
10
|
+
That writes a .jitera.json recording which deployment and project this
|
|
11
|
+
repository belongs to, alongside AGENTS.md and CLAUDE.md for the rest of the
|
|
12
|
+
team. Once it exists, project context loads by itself at the start of a session.
|
package/content/session-start.md
CHANGED
|
@@ -2,10 +2,19 @@ Project context tools are configured for this workspace: project documentation,
|
|
|
2
2
|
source, and a shared project memory over MCP.
|
|
3
3
|
|
|
4
4
|
Before your first substantive answer in this session, and before planning or
|
|
5
|
-
implementing anything, call `
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
implementing anything, call `gather_jitera_context` with the task in the user's
|
|
6
|
+
own words. An empty result is normal and is not an error.
|
|
7
|
+
|
|
8
|
+
If the tools are missing from your tool list or a call fails, say so and
|
|
9
|
+
continue without stored context instead of guessing.
|
|
10
|
+
|
|
11
|
+
Keep using it as the work moves. This is not a once-per-session lookup: call it
|
|
12
|
+
again whenever you reach an area you have not gathered context for yet, an
|
|
13
|
+
unfamiliar name, or a decision about how something should work. Use
|
|
14
|
+
`resource_search` and `resource_read` when you want one specific file rather
|
|
15
|
+
than the whole picture.
|
|
8
16
|
|
|
9
17
|
As decisions are made, constraints are discovered, or you are corrected, persist
|
|
10
|
-
them with `remember_jitera_memory`. Recall the entity first
|
|
11
|
-
attribute list, so you update it
|
|
18
|
+
them with `remember_jitera_memory`. Recall the entity first with
|
|
19
|
+
`recall_jitera_memory` and re-send its full attribute list, so you update it
|
|
20
|
+
rather than creating a duplicate.
|
package/dist/bin/cli.js
CHANGED
|
@@ -53,109 +53,117 @@ const USAGE = [
|
|
|
53
53
|
" --skip-skills write mcp config only, no skills or AGENTS.md",
|
|
54
54
|
" --mcp-url=<url> bypass discovery, for air-gapped or self-hosted setups",
|
|
55
55
|
].join("\n");
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
let studioUrl;
|
|
66
|
-
try {
|
|
67
|
-
studioUrl = resolveStudioUrl(args.environment);
|
|
68
|
-
}
|
|
69
|
-
catch (error) {
|
|
70
|
-
if (error instanceof UnknownEnvironmentError) {
|
|
71
|
-
process.stderr.write(`error: ${error.message}\n`);
|
|
72
|
-
process.exit(2);
|
|
56
|
+
// The body returns an exit code rather than calling process.exit(). Exiting
|
|
57
|
+
// while a handle opened by discovery is still closing aborts the process on
|
|
58
|
+
// Windows with a libuv assertion in async.c, so a command that had already
|
|
59
|
+
// printed the right answer still reported a crash to its caller.
|
|
60
|
+
async function main() {
|
|
61
|
+
const args = parseArgs(process.argv.slice(2));
|
|
62
|
+
if (args.help) {
|
|
63
|
+
process.stdout.write(`${USAGE}\n`);
|
|
64
|
+
return 0;
|
|
73
65
|
}
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
let
|
|
79
|
-
if (args.mcpUrl) {
|
|
80
|
-
mcpUrl = args.mcpUrl;
|
|
81
|
-
apiBaseUrl = "";
|
|
82
|
-
brand = DEFAULT_BRAND;
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
66
|
+
if (args.unknown) {
|
|
67
|
+
process.stderr.write(`error: unrecognised argument "${args.unknown}"\n${USAGE}\n`);
|
|
68
|
+
return 2;
|
|
69
|
+
}
|
|
70
|
+
let studioUrl;
|
|
85
71
|
try {
|
|
86
|
-
|
|
87
|
-
mcpUrl = deployment.mcpUrl;
|
|
88
|
-
apiBaseUrl = deployment.apiBaseUrl;
|
|
89
|
-
brand = deployment.brand;
|
|
72
|
+
studioUrl = resolveStudioUrl(args.environment);
|
|
90
73
|
}
|
|
91
74
|
catch (error) {
|
|
92
|
-
if (error instanceof
|
|
75
|
+
if (error instanceof UnknownEnvironmentError) {
|
|
93
76
|
process.stderr.write(`error: ${error.message}\n`);
|
|
94
|
-
|
|
77
|
+
return 2;
|
|
95
78
|
}
|
|
96
79
|
throw error;
|
|
97
80
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
home: homedir(),
|
|
106
|
-
cwd: process.cwd(),
|
|
107
|
-
mcpUrl,
|
|
108
|
-
// A committed .jitera.json pins these configs to the repo's project, which is
|
|
109
|
-
// what makes a user-level key work without per-project setup.
|
|
110
|
-
projectUuid: readProjectMarker(process.cwd())?.project,
|
|
111
|
-
dryRun: args.dryRun,
|
|
112
|
-
};
|
|
113
|
-
const detected = ADAPTERS.filter((adapter) => adapter.detect(context));
|
|
114
|
-
if (detected.length === 0) {
|
|
115
|
-
process.stderr.write(`error: no supported assistant detected. Looked for: ${ADAPTERS.map((a) => a.label).join(", ")}.\n` +
|
|
116
|
-
`Claude Code and Codex install through their own plugin marketplaces, see the readme.\n`);
|
|
117
|
-
process.exit(1);
|
|
118
|
-
}
|
|
119
|
-
const results = [];
|
|
120
|
-
for (const adapter of detected) {
|
|
121
|
-
try {
|
|
122
|
-
results.push({
|
|
123
|
-
adapter,
|
|
124
|
-
result: args.uninstall ? adapter.uninstall(context) : adapter.install(context),
|
|
125
|
-
});
|
|
81
|
+
let mcpUrl;
|
|
82
|
+
let apiBaseUrl;
|
|
83
|
+
let brand;
|
|
84
|
+
if (args.mcpUrl) {
|
|
85
|
+
mcpUrl = args.mcpUrl;
|
|
86
|
+
apiBaseUrl = "";
|
|
87
|
+
brand = DEFAULT_BRAND;
|
|
126
88
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
89
|
+
else {
|
|
90
|
+
try {
|
|
91
|
+
const deployment = await discoverDeployment({ environment: args.environment, studioUrl: process.env["JITERA_STUDIO_URL"] });
|
|
92
|
+
mcpUrl = deployment.mcpUrl;
|
|
93
|
+
apiBaseUrl = deployment.apiBaseUrl;
|
|
94
|
+
brand = deployment.brand;
|
|
95
|
+
}
|
|
96
|
+
catch (error) {
|
|
97
|
+
if (error instanceof DiscoveryError) {
|
|
98
|
+
process.stderr.write(`error: ${error.message}\n`);
|
|
99
|
+
return 1;
|
|
100
|
+
}
|
|
101
|
+
throw error;
|
|
131
102
|
}
|
|
132
|
-
throw error;
|
|
133
103
|
}
|
|
104
|
+
if (args.print) {
|
|
105
|
+
process.stdout.write(`${JSON.stringify({ mcpUrl, apiBaseUrl, studioUrl }, undefined, 2)}\n`);
|
|
106
|
+
return 0;
|
|
107
|
+
}
|
|
108
|
+
const context = {
|
|
109
|
+
scope: args.scope,
|
|
110
|
+
home: homedir(),
|
|
111
|
+
cwd: process.cwd(),
|
|
112
|
+
mcpUrl,
|
|
113
|
+
// A committed .jitera.json pins these configs to the repo's project, which is
|
|
114
|
+
// what makes a user-level key work without per-project setup.
|
|
115
|
+
projectUuid: readProjectMarker(process.cwd())?.project,
|
|
116
|
+
dryRun: args.dryRun,
|
|
117
|
+
};
|
|
118
|
+
const detected = ADAPTERS.filter((adapter) => adapter.detect(context));
|
|
119
|
+
if (detected.length === 0) {
|
|
120
|
+
process.stderr.write(`error: no supported assistant detected. Looked for: ${ADAPTERS.map((a) => a.label).join(", ")}.\n` +
|
|
121
|
+
`Claude Code and Codex install through their own plugin marketplaces, see the readme.\n`);
|
|
122
|
+
return 1;
|
|
123
|
+
}
|
|
124
|
+
const results = [];
|
|
125
|
+
for (const adapter of detected) {
|
|
126
|
+
try {
|
|
127
|
+
results.push({
|
|
128
|
+
adapter,
|
|
129
|
+
result: args.uninstall ? adapter.uninstall(context) : adapter.install(context),
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
catch (error) {
|
|
133
|
+
if (error instanceof MalformedConfigError) {
|
|
134
|
+
process.stderr.write(`error: ${error.message}\n`);
|
|
135
|
+
return 1;
|
|
136
|
+
}
|
|
137
|
+
throw error;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
const theme = createTheme({ env: process.env, isTty: Boolean(process.stdout.isTTY) });
|
|
141
|
+
process.stdout.write(heading(theme, brand, args.uninstall ? "disconnect" : "connect"));
|
|
142
|
+
const verb = args.uninstall ? "removed from" : "written to";
|
|
143
|
+
for (const { adapter, result } of results) {
|
|
144
|
+
process.stdout.write(` ${result.changed ? theme.ok("✓") : theme.dim("–")} ${theme.bold(adapter.label)} ${theme.dim(`${result.changed ? verb : "already up to date in"} ${result.path}`)}\n`);
|
|
145
|
+
}
|
|
146
|
+
if (!args.skipSkills) {
|
|
147
|
+
const values = { BRAND: brand };
|
|
148
|
+
const targetDirs = [...new Set(detected.flatMap((adapter) => adapter.skillsDirs(context)))];
|
|
149
|
+
const skills = args.uninstall
|
|
150
|
+
? uninstallSkills({ packageRoot: PACKAGE_ROOT, targetDirs, dryRun: args.dryRun })
|
|
151
|
+
: installSkills({ packageRoot: PACKAGE_ROOT, targetDirs, values, dryRun: args.dryRun });
|
|
152
|
+
const skillVerb = args.uninstall ? "removed from" : "written to";
|
|
153
|
+
process.stdout.write(skills.changed
|
|
154
|
+
? ` ${theme.ok("✓")} ${theme.bold("Skills")} ${theme.dim(`${skills.skills.length} ${skillVerb} ${targetDirs.join(", ")}`)}\n`
|
|
155
|
+
: ` ${theme.dim("–")} ${theme.bold("Skills")} ${theme.dim(`already up to date in ${targetDirs.join(", ")}`)}\n`);
|
|
156
|
+
}
|
|
157
|
+
if (args.dryRun) {
|
|
158
|
+
process.stdout.write(`\n ${theme.dim("dry run, nothing was written")}\n`);
|
|
159
|
+
}
|
|
160
|
+
else if (!args.uninstall) {
|
|
161
|
+
process.stdout.write(`\n ${theme.dim("endpoint")} ${theme.accent(mcpUrl)}\n`);
|
|
162
|
+
process.stdout.write(` ${theme.dim("export JITERA_API_KEY=<your api key> before starting your assistant")}\n`);
|
|
163
|
+
process.stdout.write(` ${theme.dim("Optional:")} ${theme.accent("npx @jitera/connect init")} ` +
|
|
164
|
+
`${theme.dim("writes committable AGENTS.md instructions at the repo root")}\n`);
|
|
165
|
+
}
|
|
166
|
+
return 0;
|
|
134
167
|
}
|
|
135
|
-
|
|
136
|
-
process.stdout.write(heading(theme, brand, args.uninstall ? "disconnect" : "connect"));
|
|
137
|
-
const verb = args.uninstall ? "removed from" : "written to";
|
|
138
|
-
for (const { adapter, result } of results) {
|
|
139
|
-
process.stdout.write(` ${result.changed ? theme.ok("✓") : theme.dim("–")} ${theme.bold(adapter.label)} ${theme.dim(`${result.changed ? verb : "already up to date in"} ${result.path}`)}\n`);
|
|
140
|
-
}
|
|
141
|
-
if (!args.skipSkills) {
|
|
142
|
-
const values = { BRAND: brand };
|
|
143
|
-
const targetDirs = [...new Set(detected.flatMap((adapter) => adapter.skillsDirs(context)))];
|
|
144
|
-
const skills = args.uninstall
|
|
145
|
-
? uninstallSkills({ packageRoot: PACKAGE_ROOT, targetDirs, dryRun: args.dryRun })
|
|
146
|
-
: installSkills({ packageRoot: PACKAGE_ROOT, targetDirs, values, dryRun: args.dryRun });
|
|
147
|
-
const skillVerb = args.uninstall ? "removed from" : "written to";
|
|
148
|
-
process.stdout.write(skills.changed
|
|
149
|
-
? ` ${theme.ok("✓")} ${theme.bold("Skills")} ${theme.dim(`${skills.skills.length} ${skillVerb} ${targetDirs.join(", ")}`)}\n`
|
|
150
|
-
: ` ${theme.dim("–")} ${theme.bold("Skills")} ${theme.dim(`already up to date in ${targetDirs.join(", ")}`)}\n`);
|
|
151
|
-
}
|
|
152
|
-
if (args.dryRun) {
|
|
153
|
-
process.stdout.write(`\n ${theme.dim("dry run, nothing was written")}\n`);
|
|
154
|
-
}
|
|
155
|
-
else if (!args.uninstall) {
|
|
156
|
-
process.stdout.write(`\n ${theme.dim("endpoint")} ${theme.accent(mcpUrl)}\n`);
|
|
157
|
-
process.stdout.write(` ${theme.dim("export JITERA_API_KEY=<your api key> before starting your assistant")}\n`);
|
|
158
|
-
process.stdout.write(` ${theme.dim("Optional:")} ${theme.accent("npx @jitera/connect init")} ` +
|
|
159
|
-
`${theme.dim("writes committable AGENTS.md instructions at the repo root")}\n`);
|
|
160
|
-
}
|
|
168
|
+
process.exitCode = await main();
|
|
161
169
|
//# sourceMappingURL=cli.js.map
|
package/dist/bin/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/bin/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACnD,O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,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,GAAG,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAC7E,CAAC;SAAM,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;QAC3B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAChF,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,KAAK,KAAK,CAAC,GAAG,CAAC,qEAAqE,CAAC,IAAI,CAC1F,CAAC;QACF,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,KAAK,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,0BAA0B,CAAC,GAAG;YACxE,GAAG,KAAK,CAAC,GAAG,CAAC,4DAA4D,CAAC,IAAI,CACjF,CAAC;IACJ,CAAC;IAED,OAAO,CAAC,CAAC;AACX,CAAC;AAED,OAAO,CAAC,QAAQ,GAAG,MAAM,IAAI,EAAE,CAAC"}
|
package/dist/bin/connect.js
CHANGED
package/dist/bin/connect.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/bin/connect.ts"],"names":[],"mappings":";AACA,MAAM,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAE3C,IAAI,UAAU,KAAK,OAAO,EAAE,CAAC;IAC3B,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC;AAC7B,CAAC;KAAM,IAAI,UAAU,KAAK,MAAM,EAAE,CAAC;IACjC,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC;AAC5B,CAAC;KAAM,IAAI,UAAU,KAAK,YAAY,EAAE,CAAC;IACvC,MAAM,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAClC,CAAC;KAAM,CAAC;IACN,MAAM,MAAM,CAAC,UAAU,CAAC,CAAC;AAC3B,CAAC"}
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/bin/connect.ts"],"names":[],"mappings":";AACA,MAAM,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAE3C,IAAI,UAAU,KAAK,OAAO,EAAE,CAAC;IAC3B,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC;AAC7B,CAAC;KAAM,IAAI,UAAU,KAAK,MAAM,EAAE,CAAC;IACjC,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC;AAC5B,CAAC;KAAM,IAAI,UAAU,KAAK,WAAW,EAAE,CAAC;IACtC,MAAM,MAAM,CAAC,gBAAgB,CAAC,CAAC;AACjC,CAAC;KAAM,IAAI,UAAU,KAAK,YAAY,EAAE,CAAC;IACvC,MAAM,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAClC,CAAC;KAAM,CAAC;IACN,MAAM,MAAM,CAAC,UAAU,CAAC,CAAC;AAC3B,CAAC"}
|