flo-ai 0.0.0-stage → 0.0.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/LICENSE +21 -0
- package/README.md +22 -2
- package/bin/flo.js +28 -0
- package/package.json +26 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 reveer-ai
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
-
#
|
|
1
|
+
# flo
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
flo will handle the entire workflow for developing agentic software.
|
|
4
|
+
|
|
5
|
+
It's early: flo does nothing yet beyond printing its help and its version.
|
|
6
|
+
|
|
7
|
+
## Run it
|
|
8
|
+
|
|
9
|
+
You need Node 22 or later. Run flo with npx, no install needed:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx flo-ai --version
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx flo-ai --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The package is **`flo-ai`**, and the command it installs is `flo`. The npm package named `flo` is unrelated, so `npx flo` won't run this.
|
|
20
|
+
|
|
21
|
+
## License
|
|
22
|
+
|
|
23
|
+
MIT
|
package/bin/flo.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { readFileSync } from 'node:fs';
|
|
3
|
+
|
|
4
|
+
const { version } = JSON.parse(
|
|
5
|
+
readFileSync(new URL('../package.json', import.meta.url), 'utf8'),
|
|
6
|
+
);
|
|
7
|
+
|
|
8
|
+
const usage = `flo: the entire workflow for developing agentic software.
|
|
9
|
+
|
|
10
|
+
It has no commands yet.
|
|
11
|
+
|
|
12
|
+
Usage: flo [option]
|
|
13
|
+
|
|
14
|
+
Options:
|
|
15
|
+
--help Show this help
|
|
16
|
+
--version Print flo's version
|
|
17
|
+
`;
|
|
18
|
+
|
|
19
|
+
const args = process.argv.slice(2);
|
|
20
|
+
|
|
21
|
+
if (args.length === 0 || (args.length === 1 && args[0] === '--help')) {
|
|
22
|
+
process.stdout.write(usage);
|
|
23
|
+
} else if (args.length === 1 && args[0] === '--version') {
|
|
24
|
+
process.stdout.write(`${version}\n`);
|
|
25
|
+
} else {
|
|
26
|
+
process.stderr.write(`Unknown argument: ${args.join(' ')}\n\n${usage}`);
|
|
27
|
+
process.exitCode = 1;
|
|
28
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flo-ai",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "The entire workflow for developing agentic software. Early: it does nothing yet beyond --version.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"flo": "bin/flo.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"bin/",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=22"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/reveer-ai/flo.git"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://github.com/reveer-ai/flo#readme",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/reveer-ai/flo/issues"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"test": "node --test"
|
|
27
|
+
}
|
|
28
|
+
}
|