@intentic/base 1.317.0 → 1.318.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/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # base
2
2
 
3
- Runtime primitives that every tier, from the daemon to the browser, must run identically: when-expressions, disposal, async schedulers, untrusted-content tags, size and token formatting, fuzzy path scoring, and the file, SQLite, worker-thread and whisper plumbing the Node tiers share.
3
+ Runtime primitives that every tier, from the daemon to the browser, must run identically: when-expressions, disposal, async schedulers, untrusted-content tags, size and token formatting, fuzzy path scoring, the stopwords every full-text query drops, and the file, SQLite, worker-thread and whisper plumbing the Node tiers share.
4
4
 
5
5
  ```mermaid
6
6
  flowchart LR
7
7
  manifest["Extension manifests<br/>when strings"] --> base(["base"])
8
8
  base -->|"when · fuzzy"| web["Web app<br/>and extension host"]
9
9
  base -->|"outside-text · plain-text · lifecycle"| daemon["Sandbox daemon<br/>fileq · webq"]
10
- base -->|"fuzzy · sqlite"| iq["iq engine"]
10
+ base -->|"fuzzy · sqlite · stopwords"| iq["iq engine<br/>and session recall"]
11
11
  base -->|"fs · sqlite · worker-calls · whisper"| node["Node tiers<br/>daemon, devices, Discord"]
12
12
  base -->|"async · errors · format"| rest["Every tier<br/>devices, deploy, extensions"]
13
13
  base -->|"held"| daemon
@@ -1 +1 @@
1
- {"version":3,"file":"plain-text.d.ts","sourceRoot":"","sources":["../src/plain-text.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,SAAS,WAAY,MAAM,KAAG,MAA6F,CAAC"}
1
+ {"version":3,"file":"plain-text.d.ts","sourceRoot":"","sources":["../src/plain-text.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,SAAS,WAAY,MAAM,KAAG,MAA6F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"plain-text.js","sourceRoot":"","sources":["../src/plain-text.ts"],"names":[],"mappings":"AAMA,MAAM,IAAI,GAAG,wEAAwE,CAAC;AAGtF,MAAM,OAAO,GAAG,mCAAmC,CAAC;AAIpD,MAAM,SAAS,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC;AAErG,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,MAAc,EAAU,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"plain-text.js","sourceRoot":"","sources":["../src/plain-text.ts"],"names":[],"mappings":"AAOA,MAAM,IAAI,GAAG,wEAAwE,CAAC;AAGtF,MAAM,OAAO,GAAG,mCAAmC,CAAC;AAIpD,MAAM,SAAS,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC;AAErG,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,MAAc,EAAU,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const STOPWORDS: ReadonlySet<string>;
2
+ //# sourceMappingURL=stopwords.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stopwords.d.ts","sourceRoot":"","sources":["../src/stopwords.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,EAAE,WAAW,CAAC,MAAM,CAIzC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export const STOPWORDS = new Set("a an and are as at be but by do does for from has have how i in is it of on or that the this to was we what when where which who why with you".split(" "));
2
+ //# sourceMappingURL=stopwords.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stopwords.js","sourceRoot":"","sources":["../src/stopwords.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAwB,IAAI,GAAG,CACjD,+IAA+I,CAAC,KAAK,CACjJ,GAAG,CACN,CACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentic/base",
3
- "version": "1.317.0",
3
+ "version": "1.318.0",
4
4
  "description": "Runtime primitives every tier shares, when-expressions, disposal, and the async schedulers",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -116,6 +116,17 @@
116
116
  "default": "./dist/fuzzy.js"
117
117
  }
118
118
  },
119
+ "./stopwords": {
120
+ "types": "./dist/stopwords.d.ts",
121
+ "import": {
122
+ "@intentic/src": "./src/stopwords.ts",
123
+ "default": "./dist/stopwords.js"
124
+ },
125
+ "require": {
126
+ "@intentic/src": "./src/stopwords.ts",
127
+ "default": "./dist/stopwords.js"
128
+ }
129
+ },
119
130
  "./sqlite": {
120
131
  "types": "./dist/sqlite.d.ts",
121
132
  "import": {