rsnarsna
feat(alli-backend): Wave-1 standardization, standalone sys.env node & vault crypto, and DEC-014 security hardening
8628c98 Download specs/nodes/strings.json from Rsnarsna/auto: direct link, hf CLI and curl.
- Browser
- Download file 13.3 kB
-
https://huggingface.co/spaces/Rsnarsna/auto/resolve/main/specs/nodes/strings.json
- Command line
-
hf download hf://spaces/Rsnarsna/auto/specs/nodes/strings.json
-
curl -L -o strings.json https://huggingface.co/spaces/Rsnarsna/auto/resolve/main/specs/nodes/strings.json
13.3 kB
| [ | |
| { | |
| "id": "string.transform", | |
| "type": "string.transform", | |
| "label": "String Transform", | |
| "category": "Variables & Types", | |
| "version": "1.0.0", | |
| "description": "Transform string case or whitespace (upper, lower, title, strip).", | |
| "icon": "Type", | |
| "inputs": [ | |
| { | |
| "id": "text_in", | |
| "name": "Input Text", | |
| "type": "str", | |
| "required": false, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| }, | |
| { | |
| "id": "text", | |
| "name": "Input Text Alias", | |
| "type": "str", | |
| "required": false, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| } | |
| ], | |
| "parameters": [ | |
| { | |
| "id": "operation", | |
| "name": "Transformation", | |
| "type": "select", | |
| "default": "upper", | |
| "description": "", | |
| "options": [ | |
| { | |
| "value": "upper", | |
| "label": "Uppercase (.upper())" | |
| }, | |
| { | |
| "value": "lower", | |
| "label": "Lowercase (.lower())" | |
| }, | |
| { | |
| "value": "title", | |
| "label": "Title Case (.title())" | |
| }, | |
| { | |
| "value": "capitalize", | |
| "label": "Capitalize (.capitalize())" | |
| }, | |
| { | |
| "value": "strip", | |
| "label": "Trim Whitespace (.strip())" | |
| } | |
| ], | |
| "min_value": null, | |
| "max_value": null, | |
| "required": true, | |
| "step": null, | |
| "precision": null, | |
| "regex": null, | |
| "enum_values": null, | |
| "widget": null, | |
| "is_identifier": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "text_out", | |
| "name": "Transformed Text", | |
| "type": "str", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| }, | |
| { | |
| "id": "result", | |
| "name": "Result Alias", | |
| "type": "str", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| }, | |
| { | |
| "id": "val", | |
| "name": "Value Alias", | |
| "type": "str", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| }, | |
| { | |
| "id": "out", | |
| "name": "Output Alias", | |
| "type": "str", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| }, | |
| { | |
| "id": "length", | |
| "name": "Character Count", | |
| "type": "int", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| } | |
| ], | |
| "settings": { | |
| "timeout_seconds": 5.0, | |
| "retry_count": 0, | |
| "fallback_on_error": null, | |
| "cache_policy": "session", | |
| "continue_on_error": false, | |
| "execute_once": false | |
| }, | |
| "validation": null, | |
| "execution": null, | |
| "codegen": { | |
| "template": "{result} = {text_in}.{operation}()", | |
| "imports": [], | |
| "requirements": [], | |
| "variable_prefix": null | |
| }, | |
| "dependencies": [], | |
| "docs": { | |
| "summary": "Apply string casing or stripping transformations.", | |
| "description": "Transforms text using standard Python string methods.", | |
| "doc_url": "https://docs.python.org/3/library/stdtypes.html#string-methods", | |
| "examples": [ | |
| { | |
| "title": "Uppercase", | |
| "inputs": { | |
| "text_in": "hello" | |
| }, | |
| "parameters": { | |
| "operation": "upper" | |
| }, | |
| "expected_output": { | |
| "text_out": "HELLO", | |
| "length": 5 | |
| }, | |
| "code_snippet": "result = 'hello'.upper()" | |
| } | |
| ], | |
| "complexity": "O(N)", | |
| "time_complexity": "O(N)", | |
| "space_complexity": "O(1)", | |
| "complexity_assumptions": null, | |
| "exceptions": [], | |
| "possible_exceptions": [], | |
| "since_version": "1.0.0" | |
| }, | |
| "verification": { | |
| "node_kind": "value_producer", | |
| "is_deterministic": true, | |
| "side_effects": [], | |
| "minimal_config": { | |
| "operation": "upper" | |
| }, | |
| "test_inputs": { | |
| "text_in": "hello" | |
| }, | |
| "expected_outputs": { | |
| "text_out": "HELLO", | |
| "length": 5 | |
| }, | |
| "expected_errors": null, | |
| "capability_states": { | |
| "extracted": true, | |
| "node_generated": true, | |
| "runtime_supported": true, | |
| "codegen_supported": true | |
| } | |
| }, | |
| "capability_states": null, | |
| "allow_var_positional": false, | |
| "allow_var_keyword": false, | |
| "var_positional_name": "args", | |
| "var_keyword_name": "kwargs" | |
| }, | |
| { | |
| "id": "string.concat", | |
| "type": "string.concat", | |
| "label": "String Concatenate", | |
| "category": "Variables & Types", | |
| "version": "1.0.0", | |
| "description": "Concatenate two text strings with an optional separator.", | |
| "icon": "Link", | |
| "inputs": [ | |
| { | |
| "id": "a", | |
| "name": "Text A", | |
| "type": "str", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| }, | |
| { | |
| "id": "b", | |
| "name": "Text B", | |
| "type": "str", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| } | |
| ], | |
| "parameters": [ | |
| { | |
| "id": "separator", | |
| "name": "Separator", | |
| "type": "string", | |
| "default": "", | |
| "description": "", | |
| "options": null, | |
| "min_value": null, | |
| "max_value": null, | |
| "required": true, | |
| "step": null, | |
| "precision": null, | |
| "regex": null, | |
| "enum_values": null, | |
| "widget": null, | |
| "is_identifier": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "result", | |
| "name": "Combined Text", | |
| "type": "str", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| }, | |
| { | |
| "id": "length", | |
| "name": "Length", | |
| "type": "int", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| } | |
| ], | |
| "settings": { | |
| "timeout_seconds": 5.0, | |
| "retry_count": 0, | |
| "fallback_on_error": null, | |
| "cache_policy": "session", | |
| "continue_on_error": false, | |
| "execute_once": false | |
| }, | |
| "validation": null, | |
| "execution": null, | |
| "codegen": { | |
| "template": "{result} = {a} + {separator} + {b}", | |
| "imports": [], | |
| "requirements": [], | |
| "variable_prefix": null | |
| }, | |
| "dependencies": [], | |
| "docs": { | |
| "summary": "Join two strings with a separator.", | |
| "description": "Concatenates text segments into a single string.", | |
| "doc_url": "https://docs.python.org/3/library/stdtypes.html#str", | |
| "examples": [ | |
| { | |
| "title": "Concat", | |
| "inputs": { | |
| "a": "Hello", | |
| "b": "World" | |
| }, | |
| "parameters": { | |
| "separator": " " | |
| }, | |
| "expected_output": { | |
| "result": "Hello World", | |
| "length": 11 | |
| }, | |
| "code_snippet": "result = 'Hello' + ' ' + 'World'" | |
| } | |
| ], | |
| "complexity": "O(N+M)", | |
| "time_complexity": "O(N+M)", | |
| "space_complexity": "O(1)", | |
| "complexity_assumptions": null, | |
| "exceptions": [], | |
| "possible_exceptions": [], | |
| "since_version": "1.0.0" | |
| }, | |
| "verification": { | |
| "node_kind": "value_producer", | |
| "is_deterministic": true, | |
| "side_effects": [], | |
| "minimal_config": { | |
| "separator": " " | |
| }, | |
| "test_inputs": { | |
| "a": "Hello", | |
| "b": "World" | |
| }, | |
| "expected_outputs": { | |
| "result": "Hello World", | |
| "length": 11 | |
| }, | |
| "expected_errors": null, | |
| "capability_states": { | |
| "extracted": true, | |
| "node_generated": true, | |
| "runtime_supported": true, | |
| "codegen_supported": true | |
| } | |
| }, | |
| "capability_states": null, | |
| "allow_var_positional": false, | |
| "allow_var_keyword": false, | |
| "var_positional_name": "args", | |
| "var_keyword_name": "kwargs" | |
| }, | |
| { | |
| "id": "string.split", | |
| "type": "string.split", | |
| "label": "String Split", | |
| "category": "Variables & Types", | |
| "version": "1.0.0", | |
| "description": "Split a string into a list of substrings by delimiter.", | |
| "icon": "Scissors", | |
| "inputs": [ | |
| { | |
| "id": "text", | |
| "name": "Input Text", | |
| "type": "str", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| } | |
| ], | |
| "parameters": [ | |
| { | |
| "id": "delimiter", | |
| "name": "Delimiter", | |
| "type": "string", | |
| "default": " ", | |
| "description": "", | |
| "options": null, | |
| "min_value": null, | |
| "max_value": null, | |
| "required": true, | |
| "step": null, | |
| "precision": null, | |
| "regex": null, | |
| "enum_values": null, | |
| "widget": null, | |
| "is_identifier": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "items", | |
| "name": "Item List", | |
| "type": "list", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| }, | |
| { | |
| "id": "count", | |
| "name": "Item Count", | |
| "type": "int", | |
| "required": true, | |
| "multiple": false, | |
| "kind": "data", | |
| "default_value": null, | |
| "description": "", | |
| "is_var_positional": false, | |
| "is_var_keyword": false, | |
| "keyword_key": null | |
| } | |
| ], | |
| "settings": { | |
| "timeout_seconds": 5.0, | |
| "retry_count": 0, | |
| "fallback_on_error": null, | |
| "cache_policy": "session", | |
| "continue_on_error": false, | |
| "execute_once": false | |
| }, | |
| "validation": null, | |
| "execution": null, | |
| "codegen": { | |
| "template": "{result} = {text}.split({delimiter})", | |
| "imports": [], | |
| "requirements": [], | |
| "variable_prefix": null | |
| }, | |
| "dependencies": [], | |
| "docs": { | |
| "summary": "Split string by delimiter into a list.", | |
| "description": "Divides a text string into list items using a delimiter string.", | |
| "doc_url": "https://docs.python.org/3/library/stdtypes.html#str.split", | |
| "examples": [ | |
| { | |
| "title": "Split", | |
| "inputs": { | |
| "text": "apple,banana,cherry" | |
| }, | |
| "parameters": { | |
| "delimiter": "," | |
| }, | |
| "expected_output": { | |
| "items": [ | |
| "apple", | |
| "banana", | |
| "cherry" | |
| ], | |
| "count": 3 | |
| }, | |
| "code_snippet": "result = 'apple,banana,cherry'.split(',')" | |
| } | |
| ], | |
| "complexity": "O(N)", | |
| "time_complexity": "O(N)", | |
| "space_complexity": "O(1)", | |
| "complexity_assumptions": null, | |
| "exceptions": [], | |
| "possible_exceptions": [], | |
| "since_version": "1.0.0" | |
| }, | |
| "verification": { | |
| "node_kind": "value_producer", | |
| "is_deterministic": true, | |
| "side_effects": [], | |
| "minimal_config": { | |
| "delimiter": "," | |
| }, | |
| "test_inputs": { | |
| "text": "apple,banana,cherry" | |
| }, | |
| "expected_outputs": { | |
| "count": 3 | |
| }, | |
| "expected_errors": null, | |
| "capability_states": { | |
| "extracted": true, | |
| "node_generated": true, | |
| "runtime_supported": true, | |
| "codegen_supported": true | |
| } | |
| }, | |
| "capability_states": null, | |
| "allow_var_positional": false, | |
| "allow_var_keyword": false, | |
| "var_positional_name": "args", | |
| "var_keyword_name": "kwargs" | |
| } | |
| ] |