@bidtry/tools 0.0.0-stage → 1.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/BIDTRY_TEAM_SOURCE.txt +6019 -0
- package/README.md +40 -2
- package/SOURCE.json +155 -0
- package/bin/cli.mjs +24 -0
- package/lib/runtime.mjs +502 -0
- package/package.json +32 -4
package/README.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Bidtry Tools
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Bidtry Tools: install project-local workflow instructions. Native engines are separate.
|
|
4
|
+
|
|
5
|
+
Reusable workflows for your own project.
|
|
6
|
+
|
|
7
|
+
## Why use it?
|
|
8
|
+
|
|
9
|
+
Install a consistent workflow, define the task, and review the result. Read the instructions in your own editor or use them with your preferred assistant.
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
Requires Node.js 20 or newer. Open a terminal in your existing project folder, then run this command on macOS, Windows PowerShell, or Linux:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npx @bidtry/tools@1.1.0 install --preset all --target .
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The command installs and verifies workflow files under `.bidtry/skills/`. No particular coding assistant is required. Open `.bidtry/skills/bidtry-TOOL/START-HERE.md`, then read the workflow in `SKILL.md`. You can follow the instructions yourself or share them with your preferred assistant.
|
|
20
|
+
|
|
21
|
+
## Preview, verify, and remove
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
npx @bidtry/tools@1.1.0 install --preset all --target . --dry-run
|
|
25
|
+
npx @bidtry/tools@1.1.0 verify --preset all --target .
|
|
26
|
+
npx @bidtry/tools@1.1.0 uninstall --preset all --target . --dry-run
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Remove `--dry-run` from the removal command only when ready. Unknown or edited files are preserved by refusing unsafe changes. Symlinked destinations are rejected.
|
|
30
|
+
|
|
31
|
+
Optional assistant integrations: pass `--agent codex`, `--agent claude`, or `--agent cursor`. These place instructions in that assistant's project skill directory. Start a new assistant session after installing. Dollar-sign and slash examples inside skill files are assistant requests, not terminal commands.
|
|
32
|
+
|
|
33
|
+
## What is included?
|
|
34
|
+
|
|
35
|
+
Workflow instructions and their supporting reference files. This npm release does not install a standalone application, native engine, compiler, browser, solver, API service, or project dependencies. Some workflow checks need separately installed native tools. They are not certified by installing these instructions. There are no npm runtime dependencies or install lifecycle scripts.
|
|
36
|
+
|
|
37
|
+
## Copyright and license texts
|
|
38
|
+
|
|
39
|
+
Original copyright notices and full license texts are included in `BIDTRY_TEAM_SOURCE.txt`. Different included materials retain their original terms. Bidtry branding does not replace original authorship.
|
|
40
|
+
|
|
41
|
+
[Tool information](https://bidtry.com/tools)
|
package/SOURCE.json
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"package": "@bidtry/tools@1.1.0",
|
|
3
|
+
"artifactKind": "project-local workflow installer; native engines excluded",
|
|
4
|
+
"runtimeSha256": "8a5a2db03bee2339c0d6085242a3fbdb1988f9bb75cc191683d48394cd52e00f",
|
|
5
|
+
"bundledRuntimeSha256": "2d912e9b6b084cef443cd92dc5a19d1e1fc5c507606fdbe1ee08384c56f6dc41",
|
|
6
|
+
"payloadSha256": "470aea2ec3fee8c475373b788708dc5a599ab07cb0ccd9f21bb0645d3259e31b",
|
|
7
|
+
"products": [
|
|
8
|
+
{
|
|
9
|
+
"name": "bidtry-accessibility-improve",
|
|
10
|
+
"version": "0.1.0",
|
|
11
|
+
"slug": "accessibility-improve"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "bidtry-agent-evaluation",
|
|
15
|
+
"version": "0.1.0",
|
|
16
|
+
"slug": "agent-evaluation"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "bidtry-agent-workflow",
|
|
20
|
+
"version": "0.1.0",
|
|
21
|
+
"slug": "agent-workflow"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "bidtry-algorithm-optimize",
|
|
25
|
+
"version": "0.1.0",
|
|
26
|
+
"slug": "algorithm-optimize"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "bidtry-api-improve",
|
|
30
|
+
"version": "0.1.0",
|
|
31
|
+
"slug": "api-improve"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "bidtry-ast-intelligence",
|
|
35
|
+
"version": "0.1.0",
|
|
36
|
+
"slug": "ast-intelligence"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "bidtry-browser-agent",
|
|
40
|
+
"version": "0.1.0",
|
|
41
|
+
"slug": "browser-agent"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "bidtry-bug-fix",
|
|
45
|
+
"version": "0.1.0",
|
|
46
|
+
"slug": "bug-fix"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "bidtry-code-context",
|
|
50
|
+
"version": "0.1.0",
|
|
51
|
+
"slug": "code-context"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "bidtry-code-graph",
|
|
55
|
+
"version": "0.1.0",
|
|
56
|
+
"slug": "code-graph"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "bidtry-code-review",
|
|
60
|
+
"version": "0.1.0",
|
|
61
|
+
"slug": "code-review"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "bidtry-code-search",
|
|
65
|
+
"version": "0.1.0",
|
|
66
|
+
"slug": "code-search"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "bidtry-coding-agent",
|
|
70
|
+
"version": "0.1.0",
|
|
71
|
+
"slug": "coding-agent"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "bidtry-constraint-solver",
|
|
75
|
+
"version": "0.1.0",
|
|
76
|
+
"slug": "constraint-solver"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "bidtry-database-improve",
|
|
80
|
+
"version": "0.1.0",
|
|
81
|
+
"slug": "database-improve"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "bidtry-deploy-improve",
|
|
85
|
+
"version": "0.1.0",
|
|
86
|
+
"slug": "deploy-improve"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "bidtry-design-improve",
|
|
90
|
+
"version": "4.8.0",
|
|
91
|
+
"slug": "design-improve"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "bidtry-edge-case-testing",
|
|
95
|
+
"version": "0.1.0",
|
|
96
|
+
"slug": "edge-case-testing"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "bidtry-graph-interface",
|
|
100
|
+
"version": "0.1.0",
|
|
101
|
+
"slug": "graph-interface"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "bidtry-logic-contracts",
|
|
105
|
+
"version": "0.1.0",
|
|
106
|
+
"slug": "logic-contracts"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "bidtry-logic-spec",
|
|
110
|
+
"version": "0.1.0",
|
|
111
|
+
"slug": "logic-spec"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "bidtry-logic-verify",
|
|
115
|
+
"version": "0.1.0",
|
|
116
|
+
"slug": "logic-verify"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "bidtry-performance-improve",
|
|
120
|
+
"version": "0.1.0",
|
|
121
|
+
"slug": "performance-improve"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "bidtry-python-improve",
|
|
125
|
+
"version": "0.1.0",
|
|
126
|
+
"slug": "python-improve"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "bidtry-reasoning-optimize",
|
|
130
|
+
"version": "0.1.0",
|
|
131
|
+
"slug": "reasoning-optimize"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "bidtry-security-scan",
|
|
135
|
+
"version": "0.1.0",
|
|
136
|
+
"slug": "security-scan"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "bidtry-test-studio",
|
|
140
|
+
"version": "0.1.0",
|
|
141
|
+
"slug": "test-studio"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "bidtry-vibe-coding",
|
|
145
|
+
"version": "0.1.0",
|
|
146
|
+
"slug": "vibe-coding"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "bidtry-web-code-editor",
|
|
150
|
+
"version": "0.1.0",
|
|
151
|
+
"slug": "web-code-editor"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"noticeSha256": "e75422d9f2b1d815938c1903b1aceb01840717dce0341c8552ad6d00ab41a269"
|
|
155
|
+
}
|
package/bin/cli.mjs
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { runCli } from '../lib/runtime.mjs';
|
|
3
|
+
const product = null;
|
|
4
|
+
const args = process.argv.slice(2);
|
|
5
|
+
const command = args[0];
|
|
6
|
+
const help = "\nBidtry Tools — project workflow installer\n\nUsage:\n bidtry-tools install --tool NAME | --preset all [--target PATH] [--agent project|codex|claude|cursor|all] [--dry-run]\n bidtry-tools verify [options]\n bidtry-tools uninstall [options] [--dry-run]\n bidtry-tools list\n\nDefault: editor-readable workflow files in .bidtry/skills/ inside your project.\nInstall verifies the managed files automatically. Requires Node.js 20 or newer.\nThis package installs workflow instructions, not native engines or application dependencies.\nOriginal copyright notices and license texts: BIDTRY_TEAM_SOURCE.txt\n";
|
|
7
|
+
try {
|
|
8
|
+
if (!command || args.includes('--help') || args.includes('-h') || command === 'help') {
|
|
9
|
+
process.stdout.write(help);
|
|
10
|
+
} else if (args.includes('--version') || args.includes('-v') || command === 'version') {
|
|
11
|
+
process.stdout.write("1.1.0" + '\n');
|
|
12
|
+
} else {
|
|
13
|
+
if (!['install', 'verify', 'uninstall', 'remove', 'list'].includes(command)) throw new Error('Unknown command. Use --help.');
|
|
14
|
+
if (product && args.some(value => /^--(?:tool|tools|preset)(?:=|$)/.test(value))) throw new Error('This package installs ' + product.name + ' only. Use @bidtry/tools to choose other tools.');
|
|
15
|
+
const options = args.slice(1);
|
|
16
|
+
if (!args.some(value => /^--agent(?:=|$)/.test(value))) options.push('--agent', 'project');
|
|
17
|
+
if (product && command !== 'list') options.push('--tool', product.slug);
|
|
18
|
+
process.stdout.write(runCli([command, ...options], process.cwd()));
|
|
19
|
+
if (command === 'install' && !args.includes('--dry-run')) process.stdout.write(runCli(['verify', ...options], process.cwd()));
|
|
20
|
+
}
|
|
21
|
+
} catch (error) {
|
|
22
|
+
process.stderr.write(error.message + '\n');
|
|
23
|
+
process.exitCode = 1;
|
|
24
|
+
}
|