@keystrokehq/cli 1.0.1 → 1.0.7
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 +3 -3
- package/dist/{dist-D5mdqlok.mjs → dist-B1SvZCxJ.mjs} +2 -2
- package/dist/{dist-D5mdqlok.mjs.map → dist-B1SvZCxJ.mjs.map} +1 -1
- package/dist/dist-BjnCSbC2.mjs +3 -0
- package/dist/{dist-D0bvBuXk.mjs → dist-C0QtLjpR.mjs} +6 -8
- package/dist/dist-C0QtLjpR.mjs.map +1 -0
- package/dist/{dist-DAVSXcfW.mjs → dist-DR0-KRom.mjs} +26 -3
- package/dist/{dist-DAVSXcfW.mjs.map → dist-DR0-KRom.mjs.map} +1 -1
- package/dist/index.mjs +23 -13
- package/dist/index.mjs.map +1 -1
- package/dist/{maybe-auto-update-C5I7EUot.mjs → maybe-auto-update-DxAS-9S7.mjs} +2 -2
- package/dist/{maybe-auto-update-C5I7EUot.mjs.map → maybe-auto-update-DxAS-9S7.mjs.map} +1 -1
- package/dist/skills-bundle/_AGENTS.md +5 -5
- package/dist/skills-bundle/skills/keystroke-actions/SKILL.md +39 -7
- package/dist/skills-bundle/skills/keystroke-actions/references/catalog-and-imports.md +25 -19
- package/dist/skills-bundle/skills/keystroke-agents/SKILL.md +1 -1
- package/dist/skills-bundle/skills/keystroke-apps/SKILL.md +133 -0
- package/dist/skills-bundle/skills/keystroke-apps/references/cli-and-catalog.md +66 -0
- package/dist/skills-bundle/skills/keystroke-cli/SKILL.md +2 -2
- package/dist/skills-bundle/skills/keystroke-cli/references/api-targets.md +2 -2
- package/dist/skills-bundle/skills/keystroke-deploy/SKILL.md +2 -2
- package/dist/skills-bundle/skills/keystroke-gateways/SKILL.md +2 -2
- package/dist/skills-bundle/skills/keystroke-gateways/references/slack-setup.md +1 -1
- package/dist/skills-bundle/skills/keystroke-workflows/SKILL.md +1 -1
- package/dist/skills-bundle/skills/keystroke-workflows/references/authoring.md +2 -2
- package/dist/{version-_fM2Xco6.mjs → version-TtPeAEMz.mjs} +4 -4
- package/dist/version-TtPeAEMz.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/dist-6GfH430k.mjs +0 -3
- package/dist/dist-D0bvBuXk.mjs.map +0 -1
- package/dist/skills-bundle/skills/keystroke-credentials/SKILL.md +0 -108
- package/dist/skills-bundle/skills/keystroke-credentials/references/cli-and-oauth.md +0 -51
- package/dist/version-_fM2Xco6.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -24,18 +24,18 @@ Authenticate with Keystroke via Better Auth device flow. Config lives in `~/.key
|
|
|
24
24
|
```bash
|
|
25
25
|
keystroke auth login
|
|
26
26
|
keystroke auth login --web-url http://localhost:3000
|
|
27
|
-
keystroke auth login --web-url https://
|
|
27
|
+
keystroke auth login --web-url https://keystroke.ai --platform-url https://api.keystroke.ai
|
|
28
28
|
keystroke auth status
|
|
29
29
|
keystroke auth logout
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
| Setting | Default | Purpose |
|
|
33
33
|
| ------------- | -------------------------- | ---------------------------------------------------------------- |
|
|
34
|
-
| `webUrl` | `https://
|
|
34
|
+
| `webUrl` | `https://keystroke.ai` | Web dashboard; device login and session checks |
|
|
35
35
|
| `platformUrl` | `https://api.keystroke.ai` | Platform API (direct; used by CLI platform commands) |
|
|
36
36
|
| `serverUrl` | `http://localhost:3001` | Local keystroke server API (`keystroke dev` / `keystroke start`) |
|
|
37
37
|
|
|
38
|
-
`auth login` persists both `webUrl` and `platformUrl`. Omit `--web-url` to always reset to production defaults (`https://
|
|
38
|
+
`auth login` persists both `webUrl` and `platformUrl`. Omit `--web-url` to always reset to production defaults (`https://keystroke.ai` / `https://api.keystroke.ai`), even if a previous login pointed at localhost. Local dev: `--web-url http://localhost:3000` (platform URL resolves to `http://localhost:3002`). Cloud auth does not change `serverUrl` — local project commands still hit your dev server.
|
|
39
39
|
|
|
40
40
|
Existing commands do not require auth yet. Use `resolveCliAuth()` when adding protected commands.
|
|
41
41
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { Cn as
|
|
2
|
+
import { Cn as string, Ct as PromptResponseSchema, Et as ROUTE_MANIFEST_REL_PATH, Sn as object, Tn as toJSONSchema, _n as _function, bn as discriminatedUnion, gn as _enum, hn as ZodType, un as normalizeCredentialList, vn as array, wn as union, xn as literal, yn as custom } from "./dist-DR0-KRom.mjs";
|
|
3
3
|
import "./chunk-BZUGFHVS-CPWRFwK8.mjs";
|
|
4
4
|
import "./chunk-DLL7UR66-BUYgzxnR.mjs";
|
|
5
5
|
import "./chunk-TN7HHBQW-CSB_R-XD.mjs";
|
|
@@ -1896,4 +1896,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
|
|
|
1896
1896
|
//#endregion
|
|
1897
1897
|
export { entryIdFromFile as A, webhookManifestAttachmentSchemasFromBindings as C, packAssetDirs as D, workflowRouteFromKey as E, shouldSkipKeystrokeModuleFile as M, walkTypeScriptFiles as N, discoverEntries as O, validateImportedWorkflowDefinition as S, webhookRouteFromEndpoint as T, pollGroupId as _, buildWebhookBindingsByRoute as a, toStoredRouteManifest as b, discoverSkillManifestEntries as c, discoverWorkflows as d, emitStoredRouteManifestForProject as f, persistStoredRouteManifest as g, importWorkflowDefinition as h, buildStoredRouteManifestFromContext as i, readKeystrokeIgnoreDirective as j, discoverModuleFileEntries as k, discoverTriggerAttachments as l, importTriggerAttachment as m, buildPollGroups as n, countAgentCredentials as o, importAgentDefinition as p, buildStoredRouteManifestForProject as r, discoverAgentEntries as s, agentRouteFromKey as t, discoverWorkflowEntries as u, schemaToJson as v, webhookMatchSchemaForBindings as w, validateImportedTriggerAttachment as x, serializeRouteManifest as y };
|
|
1898
1898
|
|
|
1899
|
-
//# sourceMappingURL=dist-
|
|
1899
|
+
//# sourceMappingURL=dist-B1SvZCxJ.mjs.map
|