@vsirotin/ts-stop 2.4.1 → 2.4.2
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 +34 -0
- package/lib/esm/index.js +2 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +19 -0
- package/lib/index.js.map +1 -0
- package/package.json +5 -3
- package/scripts/merge-fas.js +0 -0
- package/scripts/reduce-fa.js +0 -0
- package/scripts/update-fa.js +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[](https://www.npmjs.com/package/@vsirotin/ts-stop)
|
|
2
|
+
[](https://www.npmjs.com/package/@vsirotin/ts-stop)
|
|
3
|
+
[](http://npm-stat.com/charts.html?package=@vsirotin/ts-stop)
|
|
4
|
+
[](http://npm-stat.com/charts.html?package=@vsirotin/ts-stop)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
# StOP SDK - State Oriented Programming Software Development Kit
|
|
11
|
+
|
|
12
|
+
State Oriented Programming (StOP) is a programming paradigm that focuses on explicit state management and transformation.
|
|
13
|
+
|
|
14
|
+
This SDK provides a TypeScript/JavaScript library for implementing StOP concepts with [tutorial](ts/ts-stop/tutorial), [tools](ts/ts-stop/scripts), [skills for AI-agents](ts/ts-stop/skills) and [examples](ts/ts-stop/test).
|
|
15
|
+
|
|
16
|
+
Version 2.x of the SDK is a complete rewrite of the original 1.x version, with strong orientation for modern AI-agent development.
|
|
17
|
+
|
|
18
|
+
Therefore, the delivered units contain as well a set of skills for AI-agents. These skills and tutorials are now delivered together with code, to allow agents to read needed information without explicitly visiting the GitHub Project on the Internet.
|
|
19
|
+
|
|
20
|
+
This approach, library and tools are proven by the author in his commercial projects.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## License
|
|
24
|
+
|
|
25
|
+
This project is dual-licensed:
|
|
26
|
+
|
|
27
|
+
- **[Apache 2.0](./LICENSE)** - Free for open-source, academic, and small commercial use
|
|
28
|
+
- **[Commercial License](./LICENSE-COMMERCIAL.md)** - For organizations with 10+ employees or projects with $10,000+ annual revenue
|
|
29
|
+
|
|
30
|
+
**Quick Summary:**
|
|
31
|
+
- ✅ Free for individuals and small teams (< 10 employees)
|
|
32
|
+
- ✅ Free for non-commercial and low-revenue projects (< $10K/year)
|
|
33
|
+
- 📧 Commercial licensing available - contact the author (don't worry, the commercial terms are reasonable :-)
|
|
34
|
+
|
package/lib/esm/index.js
ADDED
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC"}
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Re-export everything from sfsm
|
|
18
|
+
__exportStar(require("./sfsm/index"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iCAAiC;AACjC,+CAA6B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vsirotin/ts-stop",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "State Oriented Programming library for TypeScript",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
},
|
|
14
14
|
"./sfsm": {
|
|
15
15
|
"types": "./lib/sfsm/index.d.ts",
|
|
16
|
-
"browser": "./lib/esm/sfsm/index.browser.js",
|
|
17
16
|
"import": "./lib/esm/sfsm/index.js",
|
|
18
17
|
"require": "./lib/sfsm/index.js"
|
|
19
18
|
}
|
|
@@ -22,7 +21,10 @@
|
|
|
22
21
|
"lib",
|
|
23
22
|
"scripts",
|
|
24
23
|
"ai/skills",
|
|
25
|
-
"tutorial"
|
|
24
|
+
"tutorial",
|
|
25
|
+
"LICENSE-COMMERCIAL.md",
|
|
26
|
+
"LICENSE-PUBLIC.md",
|
|
27
|
+
"release-notes.md"
|
|
26
28
|
],
|
|
27
29
|
"bin": {
|
|
28
30
|
"reduce-fa": "./scripts/reduce-fa.js",
|
package/scripts/merge-fas.js
CHANGED
|
File without changes
|
package/scripts/reduce-fa.js
CHANGED
|
File without changes
|
package/scripts/update-fa.js
CHANGED
|
File without changes
|